Closed AIisCool closed 2 years ago
Hi,
Thanks for your attention to our work. The code is validated on my Linux environment, please check if it is due to the mismatch of python packages or provide more information about the error. Thanks!
same question
same question
Hi,
Could you please provide more information about this error? e.g., your environment. Or, is it possible for you to conduct the experiments on a Linux system? Thanks.
ubuntu@ubuntu:/home/zhangyunming/DASR$ python basicsr/test.py -opt options/test/DASR/test_DASR.yml
Disable distributed.
Traceback (most recent call last):
File "basicsr/test.py", line 45, in
torch 1.9.0 ubuntu 18.04
Hi,
Thanks for your information. Please follow our instructions by adding PYTHONPATH="./:${PYTHONPATH}" before the command line. Thanks.
it is ok. thank you
why add PYTHONPATH="./:${PYTHONPATH}"?
it is ok. thank you
why add PYTHONPATH="./:${PYTHONPATH}"?
It specifies the work dir, as there are many relative paths in our code. Thanks.
File "C:\DASR\basicsr\test.py", line 45, in <module> test_pipeline(root_path) File "C:\DASR\basicsr\test.py", line 19, in test_pipeline make_exp_dirs(opt) File "C:\Python39\lib\site-packages\basicsr\utils\dist_util.py", line 80, in wrapper return func(*args, **kwargs) File "C:\Python39\lib\site-packages\basicsr\utils\misc.py", line 40, in make_exp_dirs path_opt = opt['path'].copy() TypeError: tuple indices must be integers or slices, not str