0dce0df1ee
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. |
||
---|---|---|
.. | ||
codeformer | ||
artists.py | ||
bsrgan_model_arch.py | ||
bsrgan_model.py | ||
codeformer_model.py | ||
devices.py | ||
errors.py | ||
esrgam_model_arch.py | ||
esrgan_model.py | ||
extras.py | ||
face_restoration.py | ||
generation_parameters_copypaste.py | ||
gfpgan_model.py | ||
images.py | ||
img2img.py | ||
interrogate.py | ||
ldsr_model_arch.py | ||
ldsr_model.py | ||
lowvram.py | ||
masking.py | ||
memmon.py | ||
modelloader.py | ||
paths.py | ||
processing.py | ||
prompt_parser.py | ||
realesrgan_model.py | ||
safety.py | ||
scripts.py | ||
sd_hijack.py | ||
sd_models.py | ||
sd_samplers.py | ||
shared.py | ||
styles.py | ||
swinir_model_arch.py | ||
swinir_model.py | ||
txt2img.py | ||
ui.py | ||
upscaler.py |