assafshocher / ZSSR

"Zero-Shot" Super-Resolution using Deep Internal Learning
Other
401 stars 102 forks source link

use the quick Quick usage examples ,such as python run_ZSSR.py X2_GRADUAL_IDEAL_CONF the code will return an error #31

Open ymtupup opened 3 years ago

ymtupup commented 3 years ago

And I fix the 's' run python run_ZSSR.py is ok . But using the Quick usage examples that you write has error,such as python run_ZSSR.py X2_IDEAL_WITH_PLOT_CONF, python run_ZSSR.py X2_GIVEN_KERNEL_CONF, File "run_ZSSR.py", line 18, in main res_dir = prepare_result_dir(conf) File "C:\Users\15479\Desktop\ZSSR\utils.py", line 192, in prepare_result_dir if conf.create_results_dir: AttributeError: 'NoneType' object has no attribute 'create_results_dir' this error comes again.

pengyuwang35 commented 3 years ago

And I fix the 's' run python run_ZSSR.py is ok . But using the Quick usage examples that you write has error,such as python run_ZSSR.py X2_IDEAL_WITH_PLOT_CONF, python run_ZSSR.py X2_GIVEN_KERNEL_CONF, File "run_ZSSR.py", line 18, in main res_dir = prepare_result_dir(conf) File "C:\Users\15479\Desktop\ZSSR\utils.py", line 192, in prepare_result_dir if conf.create_results_dir: AttributeError: 'NoneType' object has no attribute 'create_results_dir' this error comes again.

Hi, have you solved it yet?