aboutsummaryrefslogtreecommitdiff
path: root/modules/extras.py
AgeCommit message (Collapse)Author
2022-12-24fix(api): don't save extras output to diskPhilpax
2022-12-24Merge pull request #5747 from yuvalabou/singleton-comparisonAUTOMATIC1111
Format singleton comparisons
2022-12-24Merge pull request #5814 from timntorres/5802-save-upscaler-to-filenameAUTOMATIC1111
Add option to save upscaler to filename suffix in extras tab.
2022-12-17Add option to include upscaler name in filename.timntorres
2022-12-17Add upscaler name as a suffix.timntorres
2022-12-14Correct singleton comparisonsYuval Aboulafia
2022-12-04extras.py: use as little RAM as possible, misc fixesMackerel
maximum of 2 models loaded at once. delete unneeded model before next step. fix 'teritary' -> 'tertiary'. gracefully fail when "add difference" is selected without a tertiary model
2022-12-04make it possible to merge inpainting model with non-inpainting oneAUTOMATIC
2022-11-27rework #5012 to also work for pictures dragged into the prompt and also add ↵AUTOMATIC
Clip skip + ENSD to parameters
2022-11-27Merge pull request #5012 from Nandaka/masterAUTOMATIC1111
Support NAI style exif in PNG Info for Send... buttons
2022-11-27add safetensors support for model merging #4869AUTOMATIC
2022-11-24Support NAI exif for PNG InfoNandaka
2022-11-02extras - skip unnecessary second hash of imageChris OBryan
There is no need to re-hash the input image each iteration of the loop. This also reverts PR #4026 as it was determined the cache hits it avoids were actually valid.
2022-10-31Extend extras image cache with upscale_first argDepFA
2022-10-29skip filenames starting with . for img2img and extras batch modesAUTOMATIC
2022-10-28extras: upscaler blending should not be considered in cache keyChris OBryan
2022-10-28extras-tweaks: autoformat changed linesChris OBryan
2022-10-28extras: Make image cache LRUChris OBryan
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
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
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
2022-10-21Fixed path issue while extras batch processingwinterspringsummer
2022-10-21Added try except to extras batch from directorywinterspringsummer
2022-10-21Fixed path issue while extras batch processingwinterspringsummer
2022-10-18additional fix for difference model mergingAUTOMATIC
2022-10-18fix for add difference model mergingAUTOMATIC
2022-10-18extras extend cache key with new upscale to optionsDepFA
2022-10-17fix bug for latest model merge RAM improvementAUTOMATIC
2022-10-17improve performance of 3-way merge on machines with not enough ram, by only ↵MrCheeze
accessing two of the models at a time
2022-10-16honor --hide-ui-dir-config option for #2807AUTOMATIC
2022-10-16added extras batch work from directorywinterspringsummer
2022-10-14change checkpoint merger to work in a more obvious wayAUTOMATIC
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
2022-10-14add an ability to merge three checkpointsAUTOMATIC
2022-10-10Simplify crop logicJustin Maier
2022-10-09Add "Scale to" option to ExtrasJustin Maier
2022-10-09fix missing png info when Extras Batch ProcessArtem Zagidulin
2022-10-09additional changes for saving pnginfo for #1803AUTOMATIC
2022-10-09make main model loading and model merger use the same codeAUTOMATIC
2022-09-30Merge branch 'master' into fix-vramJairo Correa
2022-09-30fix model checkpoint merger tab failing to save modelAUTOMATIC
2022-09-30remove unwanted formatting/functionality from the PRAUTOMATIC
2022-09-29Merge remote-tracking branch 'upstream/master' into ModelLoaderd8ahazard
2022-09-29Holy $hit.d8ahazard
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
2022-09-28Fix memory leak and reduce memory usageJairo Correa
2022-09-29update lists of models after merging them in checkpoints tabAUTOMATIC
support saving as half
2022-09-29correctly list and display model names for #1261AUTOMATIC
2022-09-28Adding support for inverse sigmoid interpolationBernard Maltais
2022-09-27-Fix interp_amount rounding in filenameBernard Maltais
-Sort list of checkpoints in list