TLC icon indicating copy to clipboard operation
TLC copied to clipboard

Could not test

Open misakshoyan opened this issue 3 years ago • 2 comments

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

misakshoyan avatar Jan 23 '22 08:01 misakshoyan

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

achusky avatar Feb 02 '22 16:02 achusky

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!

TomTomTommi avatar Feb 24 '22 11:02 TomTomTommi