mmagic
mmagic copied to clipboard
How to convert the REDS dataset into LMDB format for EDVR training?
How to convert the REDS dataset into LMDB format for EDVR training?
Please see if this doc helps https://mmediting.readthedocs.io/en/latest/_tmp/sr_datasets.html#prepare-lmdb-dataset-for-reds
Please see if this doc helps https://mmediting.readthedocs.io/en/latest/_tmp/sr_datasets.html#prepare-lmdb-dataset-for-reds
Sorry, maybe I didn't express myself clearly. What I want to know more is how to modify the relevant configuration files to train the edvr model after converting to lmdb format. I'm confused about this.
How about this https://github.com/open-mmlab/mmediting/blob/master/mmedit/datasets/sr_lmdb_dataset.py#L9 ?
You can configure the type of dataset to be SRLmdbDataset and fill arguments following the docstring.
After configuring the type of the dataset to be SRLmdbDataset, a series of problems appeared. such as:
TypeError: SRLmdbDataset: init() got an unexpected keyword argument 'val_partition'/'num_input_frames'
and

Please check this issue. @Z-Fran
Sorry for the late reply. SRLmdbDataset may not support video datasets well. You can try using MMEditing 2.0.