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
558 stars 41 forks source link

NameError: name 'OrderedYaml' is not defined #14

Open ZzzTD opened 1 year ago

ZzzTD commented 1 year ago

May I ask if anyone has encountered this problem? Traceback (most recent call last): File "E:\Pythonfiles\image-restoration-sde-main\codes\config\deraining\train.py", line 16, in import config.deraining.options as option File "E:\Pythonfiles\image-restoration-sde-main\codes\config\deraining\options.py", line 15, in Loader, Dumper = OrderedYaml() NameError: name 'OrderedYaml' is not defined

Algolzw commented 1 year ago

Hi, you may need to adjust the line 10 and 11 in options.py to make it work on windows. As suggested here: https://github.com/Algolzw/image-restoration-sde/issues/6#issuecomment-1529268012