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

Problems when running Temporal Super-resolution Model #23

Open
xueziii opened this issue Jul 27, 2023 · 2 comments
Open

Problems when running Temporal Super-resolution Model #23

xueziii opened this issue Jul 27, 2023 · 2 comments

Comments

@xueziii
Copy link

xueziii commented Jul 27, 2023

When I try to execute the example commands in the Temporal Super-resolution Model section, I get the following error:

Traceback (most recent call last):
File "Experimental_root/test.py", line 21, in
test_pipeline(root_path)
File "/home/adminroot/anaconda3/lib/python3.8/site-packages/basicsr/test.py", line 28, in test_pipeline
test_set = build_dataset(dataset_opt)
File "/home/adminroot/anaconda3/lib/python3.8/site-packages/basicsr/data/init.py", line 34, in build_dataset
dataset = DATASET_REGISTRY.get(dataset_opt['type'])(dataset_opt)
File "/home/adminroot/Desktop/xue/MetaPortrait-main/sr_model/Experimental_root/dataset/metaportrait_video_dataset.py", line 32, in init
super(MetaportraitVideoRecurrentTestDataset, self).init(opt)
File "/home/adminroot/anaconda3/lib/python3.8/site-packages/basicsr/data/video_test_dataset.py", line 99, in init
raise ValueError(f'Non-supported video test dataset: {type(opt["name"])}')
ValueError: Non-supported video test dataset: <class 'str'>

How can I solve it? Thanks!

@angussiu260
Copy link

I got the same problem. Please help

@xueziii
Copy link
Author

xueziii commented Aug 5, 2023

I have solved this problem, don't install basicsr with pip, it is wrong to install the official basicsr. Uninstall it if you have it installed. Let the code import the basicsr in the sr_model file given by the author

@angussiu260

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

2 participants