63 Commits (78b879b4426d3730acdf3f4737d37a2ee29cb023)

Author SHA1 Message Date
AUTOMATIC a1e5e0d766 skip filenames starting with . for img2img and extras batch modes 3 years ago
Chris OBryan d8b3661467 extras: upscaler blending should not be considered in cache key 3 years ago
Chris OBryan 5732c0282d extras-tweaks: autoformat changed lines 3 years ago
Chris OBryan 1f1b327959 extras: Make image cache LRU
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.
3 years ago
Chris OBryan bde4731f1d extras: Rework image cache
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.
3 years ago
Chris OBryan 26d0819384 extras: Add option to run upscaling before face fixing
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.
3 years ago
winterspringsummer 9d71eef02e sort file list in alphabetical ordering in extras 3 years ago
winterspringsummer a13c3bed3c Fixed path issue while extras batch processing 3 years ago
winterspringsummer fb5a8cf0d9 Added try except to extras batch from directory 3 years ago
winterspringsummer 60872c5b40 Fixed path issue while extras batch processing 3 years ago
AUTOMATIC ec1924ee57 additional fix for difference model merging 3 years ago
AUTOMATIC e20b7e30fe fix for add difference model merging 3 years ago
DepFA d3338bdef1 extras extend cache key with new upscale to options 3 years ago
AUTOMATIC 5c94aaf290 fix bug for latest model merge RAM improvement 3 years ago
MrCheeze 0fd1307671 improve performance of 3-way merge on machines with not enough ram, by only accessing two of the models at a time 3 years ago
AUTOMATIC 179e3ca752 honor --hide-ui-dir-config option for #2807 3 years ago
winterspringsummer 2ce27728f6 added extras batch work from directory 3 years ago
AUTOMATIC c250cb289c change checkpoint merger to work in a more obvious way
remove sigmoid and inverse sigmoid because they just did the same thing as weighed sum only with changed multiplier
3 years ago
AUTOMATIC 2f0e089c7c should fix the issue with missing layers in chechpoint merger 3 years ago
AUTOMATIC fdecb63685 add an ability to merge three checkpoints 3 years ago
Justin Maier 1d64976dbc Simplify crop logic 3 years ago
Justin Maier 6435691bb1 Add "Scale to" option to Extras 3 years ago
Artem Zagidulin 9ecea0a8d6 fix missing png info when Extras Batch Process 3 years ago
AUTOMATIC bd833409ac additional changes for saving pnginfo for #1803 3 years ago
AUTOMATIC c77c89cc83 make main model loading and model merger use the same code 3 years ago
Jairo Correa ad1fbbae93 Merge branch 'master' into fix-vram 3 years ago
AUTOMATIC 3f64e23f81 fix model checkpoint merger tab failing to save model 3 years ago
AUTOMATIC d1f098540a remove unwanted formatting/functionality from the PR 3 years ago
d8ahazard d73741794d Merge remote-tracking branch 'upstream/master' into ModelLoader 3 years ago
d8ahazard 0dce0df1ee Holy $hit.
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.
3 years ago
safentisAuth 66fed8ffb8 Add custom name and try-except 3 years ago
Jairo Correa c938679de7 Fix memory leak and reduce memory usage 3 years ago
AUTOMATIC 7acfaca05a update lists of models after merging them in checkpoints tab
support saving as half
3 years ago
AUTOMATIC 791808c890 correctly list and display model names for #1261 3 years ago
Bernard Maltais fe2f0e1729 Adding support for inverse sigmoid interpolation 3 years ago
Bernard Maltais 4c9c2a6702 -Fix interp_amount rounding in filename
-Sort list of checkpoints in list
3 years ago
Bernard Maltais 8c48ede135 Fix variable conversion code issue 3 years ago
Bernard Maltais d641af6a7d - Add gradio dropdown list to select checkpoints
- Update checkpoint model fields labels
3 years ago
Bernard Maltais e258f89080 Fix file name 3 years ago
Bernard Maltais 20b41b7be7 (feat): Rework Checkpoint Merger UI for better clarity
- Rename variables to better align with field input
- Improve merged checkpoint output file name
3 years ago
d8ahazard 5756d517a6 Merge remote-tracking branch 'upstream/master' into ModelLoader 3 years ago
Bernard Maltais 0bd8aa937f Add interpolation method and weight to output filename 3 years ago
AUTOMATIC ada901ed66 added console outputs, more clear indication of progress, and ability to specify full filename to checkpoint merger
restore "Loading..." text
3 years ago
William Moorehouse dc11748dea Added smoothstep interpolation to checkpoint merging 3 years ago
d8ahazard 740070ea9c Re-implement universal model loading 3 years ago
William Moorehouse 91643f651d Add support for checkpoint merging 3 years ago
AUTOMATIC 39ce23f42d add the bitton to paste parameters into UI for txt2img, img2img, and pnginfo tabs
fixed some [send to..] buttons to work properly with all tabs
3 years ago
AUTOMATIC 91bfc71261 A big rework, just what you were secretly hoping for!
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
3 years ago
olivier 5fe2c75da0 Support reusing filename stems during batch processing in Extras tab 3 years ago
trufty 6486ec9a56 Automatically show PNGinfo when uploading image 3 years ago