Closed Livijn closed 6 months ago
What model are you using?
I've tried basically all models. However, the images I tried upscaling were about 1.5MB (1024 × 1792 px). When I tried a smaller one it worked on the server.
Do you have any tips on how to upscale a large file like that w/o provisioning a super expensive droplet?
Thanks!
Have you tried using patch sizes? https://upscalerjs.com/documentation/guides/browser/performance/patch-sizes
If it’s still not working, it may be that the image itself is too large to load into a tensor. If you load the image into a tensor using tfjs, does it OOM?
Closing this as stale - please reopen if you're having issues.
Sorry, forgot to answer. Patch sizes solved it for me :)
Awesome, glad to hear it!
Describe the bug Whenever I run this on my DO droplet, I get an error saying
Allocation of 375652352 exceeds 10% of free system memory.
. I've tried upgrading the droplet to a CPU-optimized 4GB droplet but that doesn't resolve it.Additional context