aboutsummaryrefslogtreecommitdiff
path: root/modules/gfpgan_model.py
AgeCommit message (Collapse)Author
2022-09-30remove unwanted formatting/functionality from the PRAUTOMATIC
2022-09-29Holy $hit.d8ahazard
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.
2022-09-26Re-implement universal model loadingd8ahazard
2022-09-23gfpgan: just download the damn modelAUTOMATIC
2022-09-12 Instance of CUDA out of memory on a low-res batch, even with ↵AUTOMATIC
--opt-split-attention-v1 (found cause) #255
2022-09-07codeformer supportAUTOMATIC
2022-09-03option to unload GFPGAN after usingAUTOMATIC
2022-09-03split codebase into multiple files; to anyone this affects negatively: sorryAUTOMATIC