Skip to content

Please help me with use vid4 and vimo90k #346

@luoyinTT

Description

@luoyinTT

(1)What is the file structure of vimo90k,
(2)when i use vid4 for basicvsr to test , i always meet :

Original Traceback (most recent call last):

  File "/scratch/workspace/yinl/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 202, in _worker_loop
    data = fetcher.fetch(index)
  File "/scratch/workspace/yinl/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/scratch/workspace/yinl/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/group/dphi_algo_scratch_03/yinl/mmediting-master/mmedit/datasets/base_sr_dataset.py", line 52, in __getitem__
    return self.pipeline(results)
  File "/group/dphi_algo_scratch_03/yinl/mmediting-master/mmedit/datasets/pipelines/compose.py", line 43, in __call__
    data = t(data)
  File "/group/dphi_algo_scratch_03/yinl/mmediting-master/mmedit/datasets/pipelines/loading.py", line 135, in __call__
    f'filepath should be list, but got {type(filepaths)}')
TypeError: filepath should be list, but got <class 'str'>

in the config file:

test_dataset_type = 'SRVid4Dataset'
# test
    test=dict(
        type=test_dataset_type,
        lq_folder='videoSR/BIx4',
        gt_folder='videoSR/original',
        ann_file='videoSR/annotation.txt',
        pipeline=test_pipeline,
        scale=4,
        filename_tmpl='{:03d}',
        num_input_frames=7,
        test_mode=True),
)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions