Algolzw / image-restoration-sde

Image Restoration with Mean-Reverting Stochastic Differential Equations, ICML 2023. Winning solution of the NTIRE 2023 Image Shadow Removal Challenge.
https://algolzw.github.io/ir-sde/index.html
MIT License
559 stars 41 forks source link

app.py #20

Closed WangSheng612 closed 11 months ago

WangSheng612 commented 1 year ago

When I Run app.py There are these erros. Thank you

Traceback (most recent call last): File "E:\image-restoration-sde-main\image-restoration-sde-main\codes\config\deraining\app.py", line 16, in opt = option.parse(parser.parse_args().opt, is_train=False) File "E:\image-restoration-sde-main\image-restoration-sde-main\codes\config\deraining\options.py", line 67, in parse config_dir = path.split("/")[-2] IndexError: list index out of range

Algolzw commented 1 year ago

Hi! If you are using the Windows system you should modify the 'options.py' to change the path to Windows format (line 67). To simply debug it, you can also print the path to find the truth split symbol.

Best.

WangSheng612 commented 1 year ago

Thank you,I have solved this problem by your advice^^