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

Could not test #4

Open
misakshoyan opened this issue Jan 23, 2022 · 2 comments
Open

Could not test #4

misakshoyan opened this issue Jan 23, 2022 · 2 comments

Comments

@misakshoyan
Copy link

misakshoyan commented Jan 23, 2022

Hi @achusky.

I am running this line:
'python basicsr/test.py -opt options/test/GoPro/MPRNetLocal-GoPro.yml'
which gives the following error:
'Traceback (most recent call last):
File "basicsr/test.py", line 11, in
from basicsr.data import create_dataloader, create_dataset
File "/home/misak/Desktop/Projects/tlsc_test/tlsc/basicsr/data/init.py", line 17, in
from basicsr.utils import get_root_logger, scandir
File "/home/misak/Desktop/Projects/tlsc_test/tlsc/basicsr/utils/init.py", line 13, in
from .create_lmdb import (create_lmdb_for_reds, create_lmdb_for_gopro, create_lmdb_for_rain13k)
ImportError: cannot import name 'create_lmdb_for_gopro' from 'basicsr.utils.create_lmdb' (/home/misak/Desktop/Projects/tlsc_test/tlsc/basicsr/utils/create_lmdb.py)'
.

Then, I comment the 'create_lmdb_for_gopro, create_lmdb_for_rain13k' from 'basicsr/utils/init.py', line 13, and get the next error:
'Traceback (most recent call last):
File "basicsr/test.py", line 13, in
from basicsr.train import parse_options
ModuleNotFoundError: No module named 'basicsr.train''

There is no basicsr.train module in this project to import parse_options.

Could you, please, try to look on this?

I have done the installation provided in the github page, downloaded the GoPro dataset and pre-trained model.

Thanks,
Misak

@achusky
Copy link
Collaborator

achusky commented Feb 2, 2022

Sorry about my mistakes.
I add the missing parse_options in the latest update.
Please try again.

@TomTomTommi
Copy link

Hi @achusky.
I am running this line:
'python basicsr/demo.py -opt options/demo/demo.yml'
and meet the same problem,
Could you, please, try to look at this?
Thanks!

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

3 participants