17 Commits (7edd58d90dd08f68fab5ff84d26dedd0eb85cae3)

Author SHA1 Message Date
AUTOMATIC 9d1138e294 fix typo in filename for ESRGAN arch 3 years ago
Milly 0609ce06c0 Removed duplicate definition model_path 3 years ago
brkirch f2055cb1d4 Add hypernetwork support to split cross attention v1
* Add hypernetwork support to split_cross_attention_forward_v1
* Fix device check in esrgan_model.py to use devices.device_esrgan instead of shared.device
3 years ago
brkirch eeab7aedf5 Add --use-cpu command line option
Remove MPS detection to use CPU for GFPGAN / CodeFormer and add a --use-cpu command line option.
3 years ago
d8ahazard 6365a41f59 Update esrgan_model.py
Use alternate ESRGAN Model download 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 7d5c29b674 Cleanup existing directories, fixes 3 years ago
d8ahazard 740070ea9c Re-implement universal model loading 3 years ago
d8ahazard 4f434c8aea Fix/Revert opts name from GAN to ESRGAN 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
Abdullah Barhoum b5d1af11b7 Modular device management 3 years ago
AUTOMATIC ad02b249f5 add a helpful message when user puts RealESRGAN model into ESRGAN directory. 3 years ago
xeonvs 65fbefd033 Added support for launching on Apple Silicon 3 years ago
AUTOMATIC f299645aee ESRGAN support 3 years ago