aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
Commit message (Collapse)AuthorAgeFilesLines
...
* extras-tweaks: autoformat changed linesChris OBryan2022-10-281-15/+15
|
* extras: Make image cache LRUChris OBryan2022-10-281-29/+38
| | | | | | | | | This changes the extras image cache into a Least-Recently-Used cache. This allows more experimentation with different upscalers without missing the cache. Max cache size is increased to 5 and is cleared on source image update.
* extras: Rework image cacheChris OBryan2022-10-281-20/+32
| | | | | Bit of a refactor to the image cache to make it easier to extend. Also takes into account the entire image instead of just a cropped portion.
* extras: Add option to run upscaling before face fixingChris OBryan2022-10-281-50/+95
| | | | | | Face restoration can look much better if ran after upscaling, as it allows the restoration to fix upscaling artifacts. This patch adds an option to choose which order to run upscaling/face fixing in.
* sort file list in alphabetical ordering in extraswinterspringsummer2022-10-211-1/+1
|
* Fixed path issue while extras batch processingwinterspringsummer2022-10-211-3/+3
|
* Added try except to extras batch from directorywinterspringsummer2022-10-211-4/+7
|
* Fixed path issue while extras batch processingwinterspringsummer2022-10-211-4/+8
|
* additional fix for difference model mergingAUTOMATIC2022-10-181-1/+1
|
* fix for add difference model mergingAUTOMATIC2022-10-181-2/+5
|
* extras extend cache key with new upscale to optionsDepFA2022-10-181-1/+2
|
* fix bug for latest model merge RAM improvementAUTOMATIC2022-10-171-0/+1
|
* improve performance of 3-way merge on machines with not enough ram, by only ↵MrCheeze2022-10-171-10/+17
| | | | accessing two of the models at a time
* honor --hide-ui-dir-config option for #2807AUTOMATIC2022-10-161-0/+2
|
* added extras batch work from directorywinterspringsummer2022-10-161-5/+18
|
* change checkpoint merger to work in a more obvious wayAUTOMATIC2022-10-141-19/+5
| | | | remove sigmoid and inverse sigmoid because they just did the same thing as weighed sum only with changed multiplier
* should fix the issue with missing layers in chechpoint mergerAUTOMATIC2022-10-141-1/+6
|
* add an ability to merge three checkpointsAUTOMATIC2022-10-141-8/+21
|
* Simplify crop logicJustin Maier2022-10-101-11/+3
|
* Add "Scale to" option to ExtrasJustin Maier2022-10-101-5/+23
|
* fix missing png info when Extras Batch ProcessArtem Zagidulin2022-10-091-1/+1
|
* additional changes for saving pnginfo for #1803AUTOMATIC2022-10-091-0/+4
|
* make main model loading and model merger use the same codeAUTOMATIC2022-10-091-3/+3
|
* Merge branch 'master' into fix-vramJairo Correa2022-09-301-3/+8
|\
| * fix model checkpoint merger tab failing to save modelAUTOMATIC2022-09-301-1/+3
| |
| * remove unwanted formatting/functionality from the PRAUTOMATIC2022-09-301-17/+18
| |
| * Merge remote-tracking branch 'upstream/master' into ModelLoaderd8ahazard2022-09-301-23/+31
| |\
| | * Add custom name and try-exceptsafentisAuth2022-09-291-1/+2
| | |
| * | Holy $hit.d8ahazard2022-09-291-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Merge remote-tracking branch 'upstream/master' into ModelLoaderd8ahazard2022-09-271-0/+57
| |\ \
| * | | Re-implement universal model loadingd8ahazard2022-09-261-0/+2
| | | |
* | | | Fix memory leak and reduce memory usageJairo Correa2022-09-291-0/+2
| |_|/ |/| |
* | | update lists of models after merging them in checkpoints tabAUTOMATIC2022-09-281-10/+17
| | | | | | | | | | | | support saving as half
* | | correctly list and display model names for #1261AUTOMATIC2022-09-281-15/+8
| | |
* | | Adding support for inverse sigmoid interpolationBernard Maltais2022-09-281-0/+7
| | |
* | | -Fix interp_amount rounding in filenameBernard Maltais2022-09-281-2/+2
| | | | | | | | | | | | -Sort list of checkpoints in list
* | | Fix variable conversion code issueBernard Maltais2022-09-281-14/+14
| | |
* | | - Add gradio dropdown list to select checkpointsBernard Maltais2022-09-281-14/+14
| | | | | | | | | | | | - Update checkpoint model fields labels
* | | Fix file nameBernard Maltais2022-09-271-1/+1
| | |
* | | (feat): Rework Checkpoint Merger UI for better clarityBernard Maltais2022-09-271-14/+14
| | | | | | | | | | | | | | | - Rename variables to better align with field input - Improve merged checkpoint output file name
* | | Add interpolation method and weight to output filenameBernard Maltais2022-09-271-1/+1
| |/ |/|
* | added console outputs, more clear indication of progress, and ability to ↵AUTOMATIC2022-09-271-15/+33
| | | | | | | | | | | | specify full filename to checkpoint merger restore "Loading..." text
* | Added smoothstep interpolation to checkpoint mergingWilliam Moorehouse2022-09-261-2/+17
| |
* | Add support for checkpoint mergingWilliam Moorehouse2022-09-251-0/+24
|/
* add the bitton to paste parameters into UI for txt2img, img2img, and pnginfo ↵AUTOMATIC2022-09-231-2/+4
| | | | | | tabs fixed some [send to..] buttons to work properly with all tabs
* A big rework, just what you were secretly hoping for!AUTOMATIC2022-09-221-13/+5
| | | | | | | SD upscale moved to scripts Batch processing script removed Batch processing added to main img2img and now works with scripts img2img page UI reworked to use tabs
* Support reusing filename stems during batch processing in Extras tabolivier2022-09-201-6/+14
|
* Automatically show PNGinfo when uploading imagetrufty2022-09-191-0/+3
|
* Fixed "CodeFormer visibility:" rounding to 2 decimals.Dement2422022-09-171-1/+1
|
* Restore run_pnginfojjisnow2022-09-171-1/+1
|