aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ldsr_model.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed duplicate definition model_pathMilly2022-10-091-2/+0
|
* Remove unused LDSR optd8ahazard2022-09-301-1/+0
|
* Fix model paths, ensure we have the right files.d8ahazard2022-09-301-2/+7
| | | | Also, clean up logging in the ldsr arch file.
* Remove LDSR project.yaml if too large.d8ahazard2022-09-301-0/+7
| | | | If we accidentally downloaded the wrong file and saved it as project.yaml, this will delete it so it can be re-downloaded.
* Fix LDSR YAML pathd8ahazard2022-09-301-1/+1
|
* Holy $hit.d8ahazard2022-09-291-66/+37
| | | | | | | | | | | | | | | | | 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.
* Cleanup existing directories, fixesd8ahazard2022-09-261-1/+1
|
* Re-implement universal model loadingd8ahazard2022-09-261-19/+26
|
* Add LDSR and "GoLatent?" Upscaling (#763)d8ahazard2022-09-211-0/+67
* Add LDSR Upscaling