aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
AgeCommit message (Collapse)AuthorLines
2023-01-28Merge pull request #7240 from Unstackd/masterAUTOMATIC1111-5/+12
Allow users to convert models to Instruct-pix2pix models by supporting merging Instruct-pix2pix models with regular ones in the merge tab
2023-01-27fix broken calls to find_checkpoint_configAUTOMATIC-2/+2
2023-01-26Changed filename addition from "instrpix2pix" to the more readable ↵ULTRANOX\Chris-1/+1
".instruct-pix2pix" for newly generated instruct pix2pix models.
2023-01-26Changed all references to "pix2pix" to the more precise name "instruct ↵ULTRANOX\Chris-5/+5
pix2pix". Also changed extension to instrpix2pix at least for now.
2023-01-26Added error check for the rare case a user merges a pix2pix model with a ↵ULTRANOX\Chris-1/+2
normal model using weighted sum. Also removed bad print message that interfered with merging progress bar.
2023-01-26Allow checkpoint merger to merge pix2pix models in the same way that it ↵ULTRANOX\Chris-5/+11
currently supports inpainting models.
2023-01-23third time's the charmAUTOMATIC-1/+1
2023-01-22split oversize extras.py to postprocessing.pyAUTOMATIC-216/+1
2023-01-22Split history extras.py to postprocessing.pyAndrey-0/+466
2023-01-22Split history extras.py to postprocessing.pyAndrey-466/+0
2023-01-22add option to discard weights in checkpoint merger UIAUTOMATIC-1/+8
2023-01-19fixes minor typos around run_modelmergerEllangoK-7/+7
2023-01-19allow having at half precision when there is only one checkpoint in merger tabAUTOMATIC-3/+13
2023-01-19allow baking in VAE in checkpoint merger tabAUTOMATIC-44/+68
do not save config if it's the default for checkpoint merger tab change file naming scheme for checkpoint merger tab allow just saving A without any merging for checkpoint merger tab some stylistic changes for UI in checkpoint merger tab
2023-01-19add progress bar to modelmergerAUTOMATIC-3/+15
2023-01-19eliminate repetition of code in #6910AUTOMATIC-9/+8
2023-01-18only lookup tertiary model if theta_func1 is setEllangoK-3/+2
2023-01-18check model name values are set before mergingEllangoK-4/+18
2023-01-14Exclude clip index from mergebbc_mc-0/+10
2023-01-11add an option to copy config from one of models in checkpoint mergerAUTOMATIC-1/+29
2023-01-04fix jpegVladimir Mandic-2/+0
2023-01-03add job info to modulesVladimir Mandic-4/+13
2023-01-03init job and add info to model mergeVladimir Mandic-2/+12
2023-01-02error out with a readable message in chwewckpoint merger for incompatible ↵AUTOMATIC-0/+2
tensor shapes (ie when trying to merge SD1.5 with SD2.0)
2022-12-24fix(api): don't save extras output to diskPhilpax-8/+9
2022-12-24Merge pull request #5747 from yuvalabou/singleton-comparisonAUTOMATIC1111-1/+1
Format singleton comparisons
2022-12-24Merge pull request #5814 from timntorres/5802-save-upscaler-to-filenameAUTOMATIC1111-1/+7
Add option to save upscaler to filename suffix in extras tab.
2022-12-17Add option to include upscaler name in filename.timntorres-2/+3
2022-12-17Add upscaler name as a suffix.timntorres-1/+6
2022-12-14Correct singleton comparisonsYuval Aboulafia-1/+1
2022-12-04extras.py: use as little RAM as possible, misc fixesMackerel-18/+19
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-2/+25
2022-11-27rework #5012 to also work for pictures dragged into the prompt and also add ↵AUTOMATIC-35/+5
Clip skip + ENSD to parameters
2022-11-27Merge pull request #5012 from Nandaka/masterAUTOMATIC1111-0/+14
Support NAI style exif in PNG Info for Send... buttons
2022-11-27add safetensors support for model merging #4869AUTOMATIC-12/+14
2022-11-24Support NAI exif for PNG InfoNandaka-0/+14
2022-11-02extras - skip unnecessary second hash of imageChris OBryan-2/+3
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-1/+1
2022-10-29skip filenames starting with . for img2img and extras batch modesAUTOMATIC-1/+1
2022-10-28extras: upscaler blending should not be considered in cache keyChris OBryan-1/+1
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