Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I test Vimeo90K, I see this: #35

Open
CuteYuzu opened this issue May 13, 2023 · 0 comments
Open

When I test Vimeo90K, I see this: #35

CuteYuzu opened this issue May 13, 2023 · 0 comments

Comments

@CuteYuzu
Copy link

$ python /home/dell/BasicVSR_PlusPlus-master/tools/test.py configs/basicvsr_plusplus_vimeo90k_bi.py chkpts/basicvsr_plusplus_reds4.pth
/home/dell/BasicVSR_PlusPlus-master/mmedit/utils/setup_env.py:32: UserWarning: Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
warnings.warn(
/home/dell/BasicVSR_PlusPlus-master/mmedit/utils/setup_env.py:42: UserWarning: Setting MKL_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
warnings.warn(
2023-05-13 15:46:46,331 - mmedit - INFO - load checkpoint from http path: https://download.openmmlab.com/mmediting/restorers/basicvsr/spynet_20210409-c6c1bd09.pth
load checkpoint from local path: chkpts/basicvsr_plusplus_reds4.pth
[ ] 0/7824, elapsed: 0s, ETA:6666+6666 = 13332
<mmedit.datasets.sr_folder_multiple_gt_dataset.SRFolderMultipleGTDataset object at 0x7fa19be24790>
6667+6667 = 13334
[0]
7777+7777 = 15554
results_______________:{'lq_path': 'data/vimeo90k/BIx4', 'gt_path': 'data/vimeo90k/GT', 'key': ['00001/0266/im1.png', '00001/0266/im2.png', '00001/0266/im3.png', '00001/0266/im4.png', '00001/0266/im5.png', '00001/0266/im6.png', '00001/0266/im7.png'], 'num_input_frames': 7, 'sequence_length': 7, 'scale': 1}
8888+8888 = 17776
{'lq_path': 'data/vimeo90k/BIx4', 'gt_path': 'data/vimeo90k/GT', 'key': ['00001/0266/im1.png', '00001/0266/im2.png', '00001/0266/im3.png', '00001/0266/im4.png', '00001/0266/im5.png', '00001/0266/im6.png', '00001/0266/im7.png'], 'num_input_frames': 7, 'sequence_length': 7, 'scale': 1}
results:{'lq_path': 'data/vimeo90k/BIx4', 'gt_path': 'data/vimeo90k/GT', 'key': ['00001/0266/im1.png', '00001/0266/im2.png', '00001/0266/im3.png', '00001/0266/im4.png', '00001/0266/im5.png', '00001/0266/im6.png', '00001/0266/im7.png'], 'num_input_frames': 7, 'sequence_length': 7, 'scale': 1}
9999+9999=19998
data/vimeo90k/BIx4
6666+6666 = 13332
<mmedit.datasets.sr_folder_multiple_gt_dataset.SRFolderMultipleGTDataset object at 0x7fa19be24790>
6667+6667 = 13334
[1]
7777+7777 = 15554
results_______________:{'lq_path': 'data/vimeo90k/BIx4', 'gt_path': 'data/vimeo90k/GT', 'key': ['00001/0268'], 'num_input_frames': 7, 'sequence_length': 7, 'scale': 1}
8888+8888 = 17776
{'lq_path': 'data/vimeo90k/BIx4', 'gt_path': 'data/vimeo90k/GT', 'key': ['00001/0268'], 'num_input_frames': 7, 'sequence_length': 7, 'scale': 1}
results:{'lq_path': 'data/vimeo90k/BIx4', 'gt_path': 'data/vimeo90k/GT', 'key': ['00001/0268'], 'num_input_frames': 7, 'sequence_length': 7, 'scale': 1}
9999+9999=19998
data/vimeo90k/BIx4
Traceback (most recent call last):
File "/home/dell/BasicVSR_PlusPlus-master/tools/test.py", line 155, in
6666+6666 = 13332
<mmedit.datasets.sr_folder_multiple_gt_dataset.SRFolderMultipleGTDataset object at 0x7fa19be24790>
6667+6667 = 13334
[2]
7777+7777 = 15554
results_______________:{'lq_path': 'data/vimeo90k/BIx4', 'gt_path': 'data/vimeo90k/GT', 'key': ['00001/0275'], 'num_input_frames': 7, 'sequence_length': 7, 'scale': 1}
8888+8888 = 17776
{'lq_path': 'data/vimeo90k/BIx4', 'gt_path': 'data/vimeo90k/GT', 'key': ['00001/0275'], 'num_input_frames': 7, 'sequence_length': 7, 'scale': 1}
results:{'lq_path': 'data/vimeo90k/BIx4', 'gt_path': 'data/vimeo90k/GT', 'key': ['00001/0275'], 'num_input_frames': 7, 'sequence_length': 7, 'scale': 1}
9999+9999=19998
data/vimeo90k/BIx4
main()
File "/home/dell/BasicVSR_PlusPlus-master/tools/test.py", line 114, in main
outputs = single_gpu_test(
File "/home/dell/BasicVSR_PlusPlus-master/mmedit/apis/test.py", line 41, in single_gpu_test
for data in data_loader:
File "/home/dell/anaconda3/envs/test/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 634, in next
data = self._next_data()
File "/home/dell/anaconda3/envs/test/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1346, in _next_data
return self._process_data(data)
File "/home/dell/anaconda3/envs/test/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1372, in _process_data
data.reraise()
File "/home/dell/anaconda3/envs/test/lib/python3.9/site-packages/torch/_utils.py", line 644, in reraise
raise exception
TypeError: Caught TypeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/dell/anaconda3/envs/test/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop
data = fetcher.fetch(index)
File "/home/dell/anaconda3/envs/test/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 55, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index] #self.dataset是一个BasicDataSet类
File "/home/dell/anaconda3/envs/test/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 55, in
data = [self.dataset[idx] for idx in possibly_batched_index] #self.dataset是一个BasicDataSet类
File "/home/dell/BasicVSR_PlusPlus-master/mmedit/datasets/base_sr_dataset.py", line 56, in getitem
return self.pipeline(results)
File "/home/dell/BasicVSR_PlusPlus-master/mmedit/datasets/pipelines/compose.py", line 44, in call
data = t(data)
File "/home/dell/BasicVSR_PlusPlus-master/mmedit/datasets/pipelines/loading.py", line 155, in call
raise TypeError(
TypeError: filepath should be list, but got <class 'str'>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant