aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bsrgan_model.py
Commit message (Collapse)AuthorAgeFilesLines
* update ESRGAN architecture and model to support all ESRGAN models in the DB, ↵victorca252022-10-091-76/+0
| | | | BSRGAN and real-ESRGAN models
* Removed duplicate definition model_pathMilly2022-10-091-2/+0
|
* Add BSRGAN to --add-cpubrkirch2022-10-041-3/+3
|
* Update bsrgan_model.pyd8ahazard2022-09-301-1/+0
|
* Merge branch 'master' of https://github.com/d8ahazard/stable-diffusion-webuid8ahazard2022-09-301-1/+1
|\
| * fix for one error with BSRGAN, though it fails to work anyway #1109AUTOMATIC2022-09-301-2/+1
| |
* | Fix BSRGAN Model loading.d8ahazard2022-09-301-1/+2
| |
* | Fix BSRGAN variable not found.d8ahazard2022-09-301-2/+1
|/
* Holy $hit.d8ahazard2022-09-291-0/+79
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.