liuh127 / NTIRE-2021-Dehazing-Two-branch

Official PyTorch implementation of Two-branch Dehazing, wining runner-up awards in NTIRE 2021.
MIT License
50 stars 7 forks source link

I can't get dehaze results. #2

Closed cengj3k closed 3 years ago

cengj3k commented 3 years ago

When I ran test.py according to your instructions, I got message as 'Name Error: name 'hazy_up' is not defined.'.

When I 'hazy_up' was modified to'hazy' and executed, it was executed, but the normal result could not be obtained. I replace the'hazy_up' variable to'hazy' and ran test.py, but the output image did not original image or dehaze image.

How do I get dehaze image with your learning model and code?

LeoYu97 commented 3 years ago

I suggest checking the location of ‘best.pkl’ and ’NTIRE2021_Test_Hazy’. This problem may be caused by not loading our model weights.

cengj3k commented 3 years ago

thank you!