nagadomi / waifu2x

Image Super-Resolution for Anime-Style Art
http://waifu2x.udp.jp/
MIT License
27.33k stars 2.71k forks source link

unlimited.waifu2x : using 4x upscale + TTA enabled (2 or 4) results in "Error: 75952160" #456

Open spectrefps opened 2 months ago

spectrefps commented 2 months ago

While trying to upscale a 984x1280 (62.5kb) image using the 4x upscale option, 400 tile size, and the TTA set to either 2 or 4, I get an error message "Error: 75952160". Is there any info on what is causing this error to occur? I am able to upscale the image 2x and 4x without TTA just fine. Only when enabling TTA does it start throwing this error.

nagadomi commented 2 months ago

It is probably out-of-memory error. WebAssembly has a memory limit of 4GB. In my env, tile=400 does not cause that error, but tile=640 gives that error. If the result does not have a tile seam problem, I recommend tile=256.