7 Commits (ac085628540d0ec6a988fad93f5b8f2154209571)

Author SHA1 Message Date
AUTOMATIC 30b1bcc64e fix upscale loop erroneously applied multiple times 3 years ago
victorca25 c9bb33dd43 add resrgan 8x, allow use 1x and up to 8x extra models, move BSRGAN model, add nearest 3 years ago
AUTOMATIC 77a719648d fix logic error in #1832 3 years ago
Milly 0609ce06c0 Removed duplicate definition model_path 3 years ago
AUTOMATIC a5e7b371d6 fix the bug with broken rescaling in PR 3 years ago
AUTOMATIC 8f1b315318 fix bugs in the PR 3 years ago
d8ahazard 0dce0df1ee Holy $hit.
Yep.

Fix gfpgan_model_arch requirement(s).
Add Upscaler base class, move from images.
Add a lot of methods to Upscaler.
Re-work all the child upscalers to be proper classes.
Add BSRGAN scaler.
Add ldsr_model_arch class, removing the dependency for another repo that just uses regular latent-diffusion stuff.
Add one universal method that will always find and load new upscaler models without having to add new "setup_model" calls. Still need to add command line params, but that could probably be automated.
Add a "self.scale" property to all Upscalers so the scalers themselves can do "things" in response to the requested upscaling size.
Ensure LDSR doesn't get stuck in a longer loop of "upscale/downscale/upscale" as we try to reach the target upscale size.
Add typehints for IDE sanity.
PEP-8 improvements.
Moar.
3 years ago