swz30 / MIRNet

[ECCV 2020] Learning Enriched Features for Real Image Restoration and Enhancement. SOTA results for image denoising, super-resolution, and image enhancement.
Other
667 stars 96 forks source link

torch.clamp #33

Open wangzz313 opened 2 years ago

wangzz313 commented 2 years ago

why use torch.clamp(restored, 0, 1) after model output?