ofsoundof / IMDN

MIT License
50 stars 7 forks source link

Help!!! The official test code output is wrong? #5

Open zch-90 opened 2 years ago

zch-90 commented 2 years ago

I used EDSR framework to train our model, but the official code test output is wrong? There are some grids in the output picture? error_output

To fix this bug, we need modify the the uint2tensor4 function and tensor2uint function in the utils/utils_image.py script to get right results.

fix_test_code_bug

right_output

Can we submit the modified utils scripts to get right results?

ofsoundof commented 2 years ago

The uint2tensor4 function and tensor2uint function in this repository will be modified to accommodate the different input data ranges.