Open AIisCool opened 1 year ago
Hi, if you use Windows you may need to replace the "/"
with "\"
in the options.py, line 60: https://github.com/Algolzw/image-restoration-sde/blob/94664978d948c7bc632db41045227e6c0f3ffa48/codes/config/denoising-sde/options.py#L60
Yes I'm on Windows 10 and I tried changing it but:
/c/image-restoration-sde-main/codes/config/denoising-sde
$ python test.py -opt=options/test/ir-sde.yml
Traceback (most recent call last):
File "C:\image-restoration-sde-main\codes\config\denoising-sde\test.py", line 14, in <module>
import options as option
File "C:\image-restoration-sde-main\codes\config\denoising-sde\options.py", line 60
config_dir = path.split("\")[-2]
^
SyntaxError: unterminated string literal (detected at line 60)
Can you print the path
and find the correct split symbol?
Not sure how to do that?
Hi you can just add one line print(path)
to the options.py file before line 60.
How can I fix this? Thanks