17 Commits (daa5a83bb7b38a46b875a4df2f9a35b848359297)

Author SHA1 Message Date
brkirch ada17dbd7c Refactor conditional casting, fix upscalers 3 years ago
AUTOMATIC aede265f1d Fix unable to find Real-ESRGAN model info error (AttributeError: 'NoneType' object has no attribute 'data_path') #6841 #5170 3 years ago
Milly 0609ce06c0 Removed duplicate definition model_path 3 years ago
AUTOMATIC d1f098540a remove unwanted formatting/functionality from 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
d8ahazard 740070ea9c Re-implement universal model loading 3 years ago
AUTOMATIC 3eaae8ae65 reworking #775 3 years ago
d8ahazard c214c428bc Basic settings for realesrgan model selection.
I don't like that you have to restart the app, but it works.
3 years ago
d8ahazard 4f434c8aea Fix/Revert opts name from GAN to ESRGAN 3 years ago
d8ahazard 9a93a82b82 Cleanup Imports 3 years ago
d8ahazard 3cc68300cb Typo Fix 3 years ago
d8ahazard dd5566814a Add new models, fix shared opts issues
Add General x4x3, GeneralWDN x4x3, and AnimeVideo models from newer ESRGAN releases.

Fix issues caused by renaming ESRGAN_tille values to GAN_tile without using an IDE...
3 years ago
AUTOMATIC 6785fabefb Revert "fix for swininr PR breaking ESRGAN for new users"
This reverts commit 8d1d64f9a2.
3 years ago
AUTOMATIC 8d1d64f9a2 fix for swininr PR breaking ESRGAN for new users 3 years ago
AUTOMATIC f5001246e2 honor tiling settings for RealESRGAN also
load scripts earlier to get errors before model loads
3 years ago
AUTOMATIC f299645aee ESRGAN support 3 years ago
AUTOMATIC 345028099d split codebase into multiple files; to anyone this affects negatively: sorry 3 years ago