mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
We used the `RealESRGANer` utility class from the repo. It handled model loading and tiled upscaling logic. Unfortunately, it hasn't been updated in over a year, had no types, and annoyingly printed to console. I've adapted the class, cleaning it up a bit and removing the bits that are not relevant for us. Upscaling functionality is identical.