Commit Graph

9 Commits

Author SHA1 Message Date
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.
2022-09-29 17:46:23 -05:00
d8ahazard
5a1951f175 Update launch.py 2022-09-21 16:50:30 +03:00
d8ahazard
1a1f7e85c7
Add LDSR and "GoLatent?" Upscaling (#763)
* Add LDSR Upscaling
2022-09-21 16:06:37 +03:00
benbot
d6e8d85e30 removed TORCH_COMMAND section from webui.sh and
added correct torchvision version to default torch install command
2022-09-21 16:04:13 +03:00
AUTOMATIC
45c46f4cb3 oops 2022-09-21 10:32:58 +03:00
AUTOMATIC
a8ff013963 added --skip-torch-cuda-test to launcher for #746 2022-09-21 10:25:45 +03:00
Rahul Kolasseri
c2775528c9 added __name__ == __main__ to launch.py so it can be imported without launching the webUI 2022-09-20 17:23:26 +03:00
AUTOMATIC
918a092ed4 emergency fix for running in dir with spaces 2022-09-13 17:32:40 +03:00
AUTOMATIC
33e6b6e9a6 moved most of functionality from webui.bat into cross-platform launch.py
moved stable diffusion dependencies into requirements.txt
added checkout with specific commit hashes to all external repos
2022-09-13 16:48:18 +03:00