aboutsummaryrefslogtreecommitdiffstats
path: root/modules/upscaler.py
Commit message (Collapse)AuthorAgeFilesLines
* Use Spandrel for upscaling and face restoration architectures (aside from ↵Aarni Koskela2023-12-301-0/+3
| | | | GFPGAN and LDSR)
* extras tab batch: actually use original filenameAUTOMATIC11112023-12-021-3/+3
| | | | preprocessing upscale: do not do an extra upscale step if it's not needed
* Fix missing ext_filter kwargChanchana Sornsoontorn2023-06-031-1/+1
|
* Use a more concise calculation for dest dimsramyma2023-06-031-2/+2
|
* Round upscaled dimensions only when not divisible by 8ramyma2023-06-031-2/+2
|
* Round down scale destination dimensions to nearest multiple of 8ramyma2023-05-281-2/+2
|
* change upscalers to download models into user-specified directory (from ↵AUTOMATIC2023-05-191-0/+1
| | | | commandline args) rather than the default models/<...>
* fixes for B007AUTOMATIC2023-05-101-1/+1
|
* F401 fixes for ruffAUTOMATIC2023-05-101-1/+1
|
* imports cleanup for ruffAUTOMATIC2023-05-101-2/+0
|
* manual fixes for ruffAUTOMATIC2023-05-101-1/+1
|
* add data-dir flag and set all user data directories based on itMax Audron2023-01-271-3/+2
|
* Fix unable to find Real-ESRGAN model info error (AttributeError: 'NoneType' ↵AUTOMATIC2023-01-171-0/+1
| | | | object has no attribute 'data_path') #6841 #5170
* make it possible to use fractional values for SD upscale.AUTOMATIC2023-01-021-3/+3
|
* fix upscale loop erroneously applied multiple timesAUTOMATIC2022-11-041-2/+10
|
* add resrgan 8x, allow use 1x and up to 8x extra models, move BSRGAN model, ↵victorca252022-10-301-1/+16
| | | | add nearest
* fix logic error in #1832AUTOMATIC2022-10-091-1/+1
|
* Removed duplicate definition model_pathMilly2022-10-091-3/+4
|
* fix the bug with broken rescaling in PRAUTOMATIC2022-09-301-1/+1
|
* fix bugs in the PRAUTOMATIC2022-09-301-1/+1
|
* Holy $hit.d8ahazard2022-09-291-0/+121
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.