cszn / SCUNet

Practical Blind Denoising via Swin-Conv-UNet and Data Synthesis (Machine Intelligence Research 2023)
https://link.springer.com/article/10.1007/s11633-023-1466-0
Apache License 2.0
619 stars 63 forks source link

Could you please implement --tile option in code? #4

Closed zelenooki87 closed 2 years ago

zelenooki87 commented 2 years ago

With RTX 3060 I am unable to denoise images >4Mpx...For very low resolutions, results are impressive.

Thank you

cszn commented 2 years ago

Try this https://github.com/cszn/SCUNet/blob/3d5c19e93ab5723b28a839fe57ee274dd6ae6daa/main_test_scunet_real_application.py#L99

zelenooki87 commented 2 years ago

I uncommented # in this line you mentioned, but same Cuda out of memory error. Exactly in same MB as before uncommenting. Tried also smaller number like refield=8, min_size=128, same error and same Mb out of... please suggest me what to do ... Thanks

sun-jiao commented 9 months ago

Same problem here. Any updates?

sun-jiao commented 9 months ago

OK. I read the code and have understood it. You should uncomment this line as well as comment the next line. @zelenooki87