xinntao / ESRGAN

ECCV18 Workshops - Enhanced SRGAN. Champion PIRM Challenge on Perceptual Super-Resolution. The training codes are in BasicSR.
https://github.com/xinntao/BasicSR
Apache License 2.0
5.91k stars 1.05k forks source link

System freeze upon testing #84

Closed LilacTimes closed 4 years ago

LilacTimes commented 4 years ago

I'm pretty illiterate to the field so apologies for any mistakes in advance

Both when using esrgan through the test.py or through IEU brings no results, getting stuck on the "Processing..." line and instead just freezes my pc after ~3-5mins without giving any error message or prompt. Im using CPU only, since I'm on AMD and Ive tried different models, all on the same 500x480 baboon image All dependencies, such as pytorch and python are installed and seem to be running fine. Specs; win10 i3-9100F 8gb ram rx570 8gb

Any help would be appreciated. image

(edit) Ive ran it again with taskmanager open and Ive noticed that it runs at 60%cpu utilization and takes up ~4gb RAM for most of the process, but spikes up to 100% /7.9gb at the crash. Could it be possible that Im simply just running out of memory?

LilacTimes commented 4 years ago

I guess that the test was -somehow- causing me to completely go dry on ram. So by using IEU and putting the tiling all the way down to 256x256, it works (even if incredibly slow, rip cpu)