tuvovan / MIRNet-Keras

Keras Implementation of MIRNet - SoTA in Image Denoising, Super Resolution and Image Enhancement - CVPR 2020

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SR won't work on real world images

ofirkris opened this issue · comments

Hi, thanks for sharing this implementation.
I'm researching SR for real world cases - and get out of memory issues with an empty 16GB P100 GPU

2020-11-26 09:03:19.928246: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 2488320000 exceeds 10% of free system memory.

I've tested SR with 1200px and this crashes each time

hi, how much memory do you have in your GPU?
The number of this network is quite huge (34M) so that kind of big image will cause the OOM like that. If you have any idea on reducing the number or params, please feel free to make a pull request!

I have 16GB of GPU (P100)
The implementation here - https://github.com/swz30/MIRNet does work on such images - but the Super-Resolution output effect is not good compared to the input image.

Is Mirnet currently still the SoTa compared to "Deep Plug-and-Play Image Restoration"
https://github.com/cszn/DPIR

P.S - the link to Google Drive - for weights of the lighting model isn't correct.

let share to me the link to the image that you want to test. I will try with my machine.

And thank you for your contributions! :D

And about SOTA or not: I would say that depends on the number provided by the original paper. I was not able to reach the number stated in the paper anyway.