Wenchao-Du / LIR-for-Unsupervised-IR

This is an implementation for the CVPR2020 paper "Learning Invariant Representation for Unsupervised Image Restoration"
https://arxiv.org/pdf/2003.12769.pdf
100 stars 21 forks source link

how do i fix this problem when i use psnr #11

Closed s0966066980 closed 3 years ago

s0966066980 commented 3 years ago

image

s0966066980 commented 3 years ago

image

Wenchao-Du commented 3 years ago

The first problem should use the output.detach() instead of outputs directly. For the second problem, you should check if the opts.input is the image path ? good luck!