aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_models.py
Commit message (Collapse)AuthorAgeFilesLines
* revert the annotation not supported by old pythonsAUTOMATIC2022-09-301-1/+1
|
* remove unwanted formatting/functionality from the PRAUTOMATIC2022-09-301-39/+17
|
* fix bugs in the PRAUTOMATIC2022-09-301-1/+1
|
* Merge pull request #1109 from d8ahazard/ModelLoaderAUTOMATIC11112022-09-301-11/+50
|\ | | | | Model Loader, Fixes
| * Merge remote-tracking branch 'upstream/master' into ModelLoaderd8ahazard2022-09-301-8/+46
| |\
| * | Holy $hit.d8ahazard2022-09-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Use model loader with stable-diffusion too.d8ahazard2022-09-271-19/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hook the model loader into the SD_models file. Add default url/download if checkpoint is not found. Add matching stablediffusion-models-path argument. Add message that --ckpt-dir will be removed in the future, but have it pipe to stablediffusion-models-path for now. Update help strings for models-path args so they're more or less uniform. Move sd_model "setup" call to webUI with the others. Ensure "cleanup_models" method moves existing models to the new locations, including SD, and that we aren't deleting folders that still have stuff in them.
* | | return shortest checkpoint title matchDepFA2022-09-301-11/+1
| | |
* | | add get_closet_checkpoint_matchDepFA2022-09-301-0/+15
| |/ |/|
* | fix for incorrect model weight loading for #814AUTOMATIC2022-09-291-1/+5
| |
* | remove unneded debug printAUTOMATIC2022-09-291-1/+0
| |
* | update lists of models after merging them in checkpoints tabAUTOMATIC2022-09-281-5/+10
| | | | | | | | support saving as half
* | -Add gradio dropdown list to select checkpoints to mergeBernard Maltais2022-09-281-3/+5
|/ | | | | -Update the name of the model feilds -Update the associated variable names
* display a more informative message when a checkpoint is not foundAUTOMATIC2022-09-181-2/+5
|
* X/Y plot support for switching checkpoints.AUTOMATIC2022-09-171-2/+2
|
* add support for switching model checkpoints at runtimeAUTOMATIC2022-09-171-0/+148