Reyhanehne / CVF-SID_PyTorch

Official implementation of the paper "CVF-SID: Cyclic multi-Variate Function for Self-Supervised Image Denoising by Disentangling Noise from Image" (CVPR 2022)
70 stars 11 forks source link

The test code doesn't work #2

Closed whtang906 closed 2 years ago

whtang906 commented 2 years ago

I followed the steps you provided but the test code doesn't work as expected After I executed the commands: python test.py --device 0 --config ../models/CVF_SID/SIDD_Val/config.json --resume ../models/CVF_SID/SIDD_Val/model_best.pth It returns the network structure and these are the last two lines: Loading checkpoint: ../models/CVF_SID/SIDD_Val/model_best.pth Checkpoint loaded. Resume training from epoch 501 And the program ends here and output nothing.

I think there's something wrong with the config or the code?

myavartanoo commented 2 years ago

Thank you very much for your notice. Please download the updated config.json again from this link and replace it with the old version.

whtang906 commented 2 years ago

Thank you! It works perfectly now!