aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7240 from Unstackd/masterAUTOMATIC11112023-01-281-5/+12
|\ | | | | Allow users to convert models to Instruct-pix2pix models by supporting merging Instruct-pix2pix models with regular ones in the merge tab
| * Changed filename addition from "instrpix2pix" to the more readable ↵ULTRANOX\Chris2023-01-261-1/+1
| | | | | | | | ".instruct-pix2pix" for newly generated instruct pix2pix models.
| * Changed all references to "pix2pix" to the more precise name "instruct ↵ULTRANOX\Chris2023-01-261-5/+5
| | | | | | | | pix2pix". Also changed extension to instrpix2pix at least for now.
| * Added error check for the rare case a user merges a pix2pix model with a ↵ULTRANOX\Chris2023-01-261-1/+2
| | | | | | | | normal model using weighted sum. Also removed bad print message that interfered with merging progress bar.
| * Allow checkpoint merger to merge pix2pix models in the same way that it ↵ULTRANOX\Chris2023-01-261-5/+11
| | | | | | | | currently supports inpainting models.
* | fix broken calls to find_checkpoint_configAUTOMATIC2023-01-271-2/+2
|/
* third time's the charmAUTOMATIC2023-01-231-1/+1
|
* split oversize extras.py to postprocessing.pyAUTOMATIC2023-01-221-216/+1
|
* Split history extras.py to postprocessing.pyAndrey2023-01-221-0/+466
|
* Split history extras.py to postprocessing.pyAndrey2023-01-221-466/+0
|
* add option to discard weights in checkpoint merger UIAUTOMATIC2023-01-221-1/+8
|
* fixes minor typos around run_modelmergerEllangoK2023-01-191-7/+7
|
* allow having at half precision when there is only one checkpoint in merger tabAUTOMATIC2023-01-191-3/+13
|
* allow baking in VAE in checkpoint merger tabAUTOMATIC2023-01-191-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
* add progress bar to modelmergerAUTOMATIC2023-01-191-3/+15
|
* eliminate repetition of code in #6910AUTOMATIC2023-01-191-9/+8
|
* only lookup tertiary model if theta_func1 is setEllangoK2023-01-191-3/+2
|
* check model name values are set before mergingEllangoK2023-01-191-4/+18
|
* Exclude clip index from mergebbc_mc2023-01-141-0/+10
|
* add an option to copy config from one of models in checkpoint mergerAUTOMATIC2023-01-111-1/+29
|
* fix jpegVladimir Mandic2023-01-041-2/+0
|
* add job info to modulesVladimir Mandic2023-01-031-4/+13
|
* init job and add info to model mergeVladimir Mandic2023-01-031-2/+12
|
* error out with a readable message in chwewckpoint merger for incompatible ↵AUTOMATIC2023-01-021-0/+2
| | | | tensor shapes (ie when trying to merge SD1.5 with SD2.0)
* fix(api): don't save extras output to diskPhilpax2022-12-241-8/+9
|
* Merge pull request #5747 from yuvalabou/singleton-comparisonAUTOMATIC11112022-12-241-1/+1
|\ | | | | Format singleton comparisons
| * Correct singleton comparisonsYuval Aboulafia2022-12-141-1/+1
| |
* | Merge pull request #5814 from timntorres/5802-save-upscaler-to-filenameAUTOMATIC11112022-12-241-1/+7
|\ \ | |/ |/| Add option to save upscaler to filename suffix in extras tab.
| * Add option to include upscaler name in filename.timntorres2022-12-171-2/+3
| |
| * Add upscaler name as a suffix.timntorres2022-12-171-1/+6
| |
* | extras.py: use as little RAM as possible, misc fixesMackerel2022-12-041-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
* make it possible to merge inpainting model with non-inpainting oneAUTOMATIC2022-12-041-2/+25
|
* rework #5012 to also work for pictures dragged into the prompt and also add ↵AUTOMATIC2022-11-271-35/+5
| | | | Clip skip + ENSD to parameters
* Merge pull request #5012 from Nandaka/masterAUTOMATIC11112022-11-271-0/+14
|\ | | | | Support NAI style exif in PNG Info for Send... buttons
| * Support NAI exif for PNG InfoNandaka2022-11-241-0/+14
| |
* | add safetensors support for model merging #4869AUTOMATIC2022-11-271-12/+14
|/
* extras - skip unnecessary second hash of imageChris OBryan2022-11-031-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.
* Extend extras image cache with upscale_first argDepFA2022-10-311-1/+1
|
* skip filenames starting with . for img2img and extras batch modesAUTOMATIC2022-10-291-1/+1
|
* extras: upscaler blending should not be considered in cache keyChris OBryan2022-10-281-1/+1
|
* 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
|