aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
AgeCommit message (Collapse)AuthorLines
2022-10-28extras-tweaks: autoformat changed linesChris OBryan-15/+15
2022-10-28extras: Make image cache LRUChris OBryan-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.
2022-10-28extras: Rework image cacheChris OBryan-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.
2022-10-28extras: Add option to run upscaling before face fixingChris OBryan-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.
2022-10-21sort file list in alphabetical ordering in extraswinterspringsummer-1/+1
2022-10-21Fixed path issue while extras batch processingwinterspringsummer-3/+3
2022-10-21Added try except to extras batch from directorywinterspringsummer-4/+7
2022-10-21Fixed path issue while extras batch processingwinterspringsummer-4/+8
2022-10-18additional fix for difference model mergingAUTOMATIC-1/+1
2022-10-18fix for add difference model mergingAUTOMATIC-2/+5
2022-10-18extras extend cache key with new upscale to optionsDepFA-1/+2
2022-10-17fix bug for latest model merge RAM improvementAUTOMATIC-0/+1
2022-10-17improve performance of 3-way merge on machines with not enough ram, by only ↵MrCheeze-10/+17
accessing two of the models at a time
2022-10-16honor --hide-ui-dir-config option for #2807AUTOMATIC-0/+2
2022-10-16added extras batch work from directorywinterspringsummer-5/+18
2022-10-14change checkpoint merger to work in a more obvious wayAUTOMATIC-19/+5
remove sigmoid and inverse sigmoid because they just did the same thing as weighed sum only with changed multiplier
2022-10-14should fix the issue with missing layers in chechpoint mergerAUTOMATIC-1/+6
2022-10-14add an ability to merge three checkpointsAUTOMATIC-8/+21
2022-10-10Simplify crop logicJustin Maier-11/+3
2022-10-09Add "Scale to" option to ExtrasJustin Maier-5/+23
2022-10-09fix missing png info when Extras Batch ProcessArtem Zagidulin-1/+1
2022-10-09additional changes for saving pnginfo for #1803AUTOMATIC-0/+4
2022-10-09make main model loading and model merger use the same codeAUTOMATIC-3/+3
2022-09-30Merge branch 'master' into fix-vramJairo Correa-3/+8
2022-09-30fix model checkpoint merger tab failing to save modelAUTOMATIC-1/+3
2022-09-30remove unwanted formatting/functionality from the PRAUTOMATIC-17/+18
2022-09-29Merge remote-tracking branch 'upstream/master' into ModelLoaderd8ahazard-23/+31
2022-09-29Holy $hit.d8ahazard-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.
2022-09-29Add custom name and try-exceptsafentisAuth-1/+2
2022-09-28Fix memory leak and reduce memory usageJairo Correa-0/+2
2022-09-29update lists of models after merging them in checkpoints tabAUTOMATIC-10/+17
support saving as half
2022-09-29correctly list and display model names for #1261AUTOMATIC-15/+8
2022-09-28Adding support for inverse sigmoid interpolationBernard Maltais-0/+7
2022-09-27-Fix interp_amount rounding in filenameBernard Maltais-2/+2
-Sort list of checkpoints in list
2022-09-27Fix variable conversion code issueBernard Maltais-14/+14
2022-09-27- Add gradio dropdown list to select checkpointsBernard Maltais-14/+14
- Update checkpoint model fields labels
2022-09-27Fix file nameBernard Maltais-1/+1
2022-09-27(feat): Rework Checkpoint Merger UI for better clarityBernard Maltais-14/+14
- Rename variables to better align with field input - Improve merged checkpoint output file name
2022-09-27Merge remote-tracking branch 'upstream/master' into ModelLoaderd8ahazard-0/+57
2022-09-27Add interpolation method and weight to output filenameBernard Maltais-1/+1
2022-09-27added console outputs, more clear indication of progress, and ability to ↵AUTOMATIC-15/+33
specify full filename to checkpoint merger restore "Loading..." text
2022-09-26Added smoothstep interpolation to checkpoint mergingWilliam Moorehouse-2/+17
2022-09-26Re-implement universal model loadingd8ahazard-0/+2
2022-09-25Add support for checkpoint mergingWilliam Moorehouse-0/+24
2022-09-23add the bitton to paste parameters into UI for txt2img, img2img, and pnginfo ↵AUTOMATIC-2/+4
tabs fixed some [send to..] buttons to work properly with all tabs
2022-09-22A big rework, just what you were secretly hoping for!AUTOMATIC-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
2022-09-20Support reusing filename stems during batch processing in Extras tabolivier-6/+14
2022-09-19Automatically show PNGinfo when uploading imagetrufty-0/+3
2022-09-17Fixed "CodeFormer visibility:" rounding to 2 decimals.Dement242-1/+1
2022-09-17Restore run_pnginfojjisnow-1/+1