Commit Graph

546 Commits

Author SHA1 Message Date
Billy Cao 349f0461ec
Merge branch 'master' into support_any_resolution 2022-11-27 12:39:31 +08:00
AUTOMATIC 64c7b7975c restore hypernetworks to seemingly working state 2022-11-26 16:45:57 +03:00
AUTOMATIC 1123f52cad add 1024 module for hypernets for the new open clip 2022-11-26 16:37:37 +03:00
AUTOMATIC ce6911158b Add support Stable Diffusion 2.0 2022-11-26 16:10:46 +03:00
Billy Cao adb6cb7619 Patch UNet Forward to support resolutions that are not multiples of 64
Also modifed the UI to no longer step in 64
2022-11-23 18:11:24 +08:00
dtlnor 9ae30b3450 remove cmd args requirement for deepdanbooru 2022-11-21 12:53:55 +09:00
AUTOMATIC c81d440d87 moved deepdanbooru to pure pytorch implementation 2022-11-20 16:39:20 +03:00
flamelaw bd68e35de3 Gradient accumulation, autocast fix, new latent sampling method, etc 2022-11-20 12:35:26 +09:00
AUTOMATIC 3596af0749 Add API for scripts to add elements anywhere in UI. 2022-11-19 19:10:28 +03:00
AUTOMATIC 5a6387e189 make it possible to change models etc by editing options using API 2022-11-19 15:15:24 +03:00
AUTOMATIC1111 4b22ec4138
Merge pull request #4759 from dtlnor/kill-gradio-progress-bar
Hide Gradio progress again
2022-11-19 13:49:21 +03:00
AUTOMATIC1111 89daf778fb
Merge pull request #4812 from space-nuko/feature/interrupt-preprocessing
Add interrupt button to preprocessing
2022-11-19 13:26:33 +03:00
AUTOMATIC cdc8020d13 change StableDiffusionProcessing to internally use sampler name instead of sampler index 2022-11-19 12:01:51 +03:00
space-nuko c8c40c8a64 Add interrupt button to preprocessing 2022-11-17 18:05:29 -08:00
dtlnor 72b52fbb77 add css override 2022-11-16 13:08:03 +09:00
Liam b98740129c added event listener for the image gallery modal; moved js to separate file 2022-11-10 13:14:04 -05:00
Liam 81f2575df9 updating the displayed generation info when user clicks images in the gallery. feature request 4415 2022-11-09 15:24:31 -05:00
Muhammad Rizqi Nur d85c2cb2d5 Merge branch 'master' into gradient-clipping 2022-11-09 16:29:37 +07:00
kavorite 59bb1d36ea blur mask with color-sketch + add paint transparency slider 2022-11-08 22:06:29 -05:00
kavorite c34542a483 add new color-sketch state to img2img invocation 2022-11-08 03:25:59 -05:00
AUTOMATIC 1610b32584 add callback for creating a tab in train UI 2022-11-08 08:38:10 +03:00
AUTOMATIC c5334fc56b fix javascript duplication bug after pressing the restart UI button 2022-11-08 08:35:01 +03:00
kavorite 9ed4a126bd add gradio-inpaint-tool; color-sketch 2022-11-07 19:58:49 -05:00
Muhammad Rizqi Nur cabd4e3b3b Merge branch 'master' into gradient-clipping 2022-11-07 22:43:38 +07:00
papuSpartan 00ebc26c4e
Merge branch 'AUTOMATIC1111:master' into master 2022-11-06 21:05:28 -06:00
AUTOMATIC 32c0eab895 load all settings in one call instead of one by one when the page loads 2022-11-06 14:39:41 +03:00
AUTOMATIC e5b4e3f820 add tags to extensions, and ability to filter out tags
list changed Settings keys in UI
do not print VRAM/etc stats everywhere but in calls that use GPU
2022-11-06 10:12:53 +03:00
AUTOMATIC a2a1a2f727 add ability to create extensions that add localizations 2022-11-06 09:02:35 +03:00
AngelBottomless 467d8b967b
Fix errors from commit f2b697 with --hide-ui-dir-config
f2b69709ea
2022-11-05 04:24:42 +09:00
Muhammad Rizqi Nur 3277f90e93 Merge branch 'master' into gradient-clipping 2022-11-04 18:47:28 +07:00
AUTOMATIC1111 2913b9f025
Merge pull request #4178 from HeyImKyu/PreviewOnBatchCompletion
Added option to preview Created images on batch completion.
2022-11-04 10:59:27 +03:00
AUTOMATIC 321e13ca17 produce a readable error message when setting an option fails on the settings screen 2022-11-04 10:35:30 +03:00
AUTOMATIC f2b69709ea move option access checking to options class out of various places scattered through code 2022-11-04 09:42:25 +03:00
AUTOMATIC1111 4918eb6ce4
Merge branch 'master' into hn-activation 2022-11-04 09:02:15 +03:00
timntorres e533ff61c1 Lift extras generate button a la #4246. 2022-11-03 22:28:22 -07:00
Kyu♥ f1b6ac64e4 Added option to preview Created images on batch completion. 2022-11-02 17:24:42 +01:00
Muhammad Rizqi Nur 237e79c77d Merge branch 'master' into gradient-clipping 2022-11-02 20:48:58 +07:00
AUTOMATIC1111 e359268be9
Merge pull request #3976 from victorca25/esrgan_fea
multiple trivial changes for "extras" models
2022-11-02 14:09:38 +03:00
AUTOMATIC 4a8cf01f6f remove duplicate code from #3970 2022-11-02 12:12:32 +03:00
AUTOMATIC 95c6308ccd switch to gradio 3.8 2022-11-02 09:48:02 +03:00
AUTOMATIC 5510c282b1 fix for extensions' javascript not loading 2022-11-02 07:26:31 +03:00
papuSpartan 86d35526a1 make line evil again 2022-11-01 14:53:40 -05:00
papuSpartan 1dd5d6bafa clean py func defs 2022-11-01 14:33:55 -05:00
papuSpartan 401350cd59 clear on the client-side again 2022-11-01 14:03:56 -05:00
papuSpartan 25de9df364
Merge branch 'AUTOMATIC1111:master' into master 2022-10-31 15:08:54 -05:00
AUTOMATIC 910a097ae2 add initial version of the extensions tab
fix broken Restart Gradio button
2022-10-31 17:37:02 +03:00
Muhammad Rizqi Nur 840307f237 Change default clip grad value to 0.1
It still defaults to disabled.

Ref for value: 732b15820a
2022-10-31 13:49:24 +07:00
victorca25 c9bb33dd43 add resrgan 8x, allow use 1x and up to 8x extra models, move BSRGAN model, add nearest 2022-10-30 12:54:06 +01:00
Muhammad Rizqi Nur 05e2e40537 Merge branch 'master' into gradient-clipping 2022-10-29 15:04:21 +07:00
AUTOMATIC 35c45df28b fix broken ↙ button, fix field paste ignoring most of useful fields for for #3768 2022-10-29 10:56:19 +03:00
AUTOMATIC 28e6d4a54e add element ids for save buttons for #3798 2022-10-29 09:13:36 +03:00
AUTOMATIC1111 76086f6668
Merge branch 'master' into modal-save-button-and-shortcut 2022-10-29 09:11:00 +03:00
AUTOMATIC af547f63c3 Merge branch 'Inspiron' 2022-10-29 08:48:11 +03:00
AUTOMATIC 3c207ca684 add needed imports fr new code in copypaste.py 2022-10-29 08:42:34 +03:00
AUTOMATIC a33d0a9a65 remove weird spaces added to ui.py over time 2022-10-29 08:28:48 +03:00
AUTOMATIC 2d220afb24 fix open folder button not working 2022-10-29 08:26:12 +03:00
AUTOMATIC1111 1fba573d24
Merge pull request #3874 from cobryan05/extra_tweak
Extras Tab - Option to upscale before face fix, caching improvements
2022-10-29 07:44:17 +03:00
AUTOMATIC bce5adcd6d change default hypernet activation function to linear 2022-10-29 07:37:06 +03:00
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.
2022-10-28 16:14:21 -05:00
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.
2022-10-28 13:33:49 -05:00
Muhammad Rizqi Nur 16451ca573 Learning rate sched syntax support for grad clipping 2022-10-28 17:16:23 +07:00
Muhammad Rizqi Nur 1618df41ba Gradient clipping for textual embedding 2022-10-28 10:31:27 +07:00
Muhammad Rizqi Nur a133042c66 Forgot to remove this from train_embedding 2022-10-28 10:01:46 +07:00
Muhammad Rizqi Nur 2a25729623 Gradient clipping in train tab 2022-10-28 09:44:56 +07:00
Florian Horn 268159cfe3 fixed indentation 2022-10-27 16:32:10 +02:00
Florian Horn 0995e879ce added save button and shortcut (s) to Modal View 2022-10-27 16:20:01 +02:00
yfszzx e0cbf53f45 create send to buttons by extensions 2022-10-27 18:00:51 +08:00
AngelBottomless 85fcccc105 Squashed commit of fixing dropout silently
fix dropouts for future hypernetworks

add kwargs for Hypernetwork class

hypernet UI for gradio input

add recommended options

remove as options

revert adding options in ui
2022-10-27 14:38:21 +09:00
yfszzx 4a4647e0df create send to buttons in one module 2022-10-27 13:36:11 +08:00
AUTOMATIC1111 ee73341f04
Merge pull request #3139 from captin411/focal-point-cropping
[Preprocess image] New option to auto crop based on complexity, edges, faces
2022-10-26 09:24:21 +03:00
AngelBottomless de096d0ce7 Weight initialization and More activation func
add weight init

add weight init option in create_hypernetwork

fstringify hypernet info

save weight initialization info for further debugging

fill bias with zero for He/Xavier

initialize LayerNorm with Normal

fix loading weight_init
2022-10-26 09:17:01 +03:00
captin411 df0c5ea29d update default weights 2022-10-25 17:06:59 -07:00
captin411 db8ed5fe5c Focal crop UI elements 2022-10-25 15:22:29 -07:00
captin411 6629446a2f Merge branch 'master' into focal-point-cropping 2022-10-25 13:22:27 -07:00
yfszzx cb9d2f8705 move to img component to public 2022-10-24 20:06:53 +08:00
yfszzx 994aaadf08 a strange bug 2022-10-24 16:44:36 +08:00
AUTOMATIC 876a96f0f9 remove erroneous dir in the extension directory
remove loading .js files from scripts dir (they go into javascript)
load scripts after models, for scripts that depend on loaded models
2022-10-24 09:39:46 +03:00
yfszzx a889c93f23 paste_fields add to public 2022-10-24 11:13:16 +08:00
yfszzx cef1b89aa2 remove browser to extension 2022-10-24 10:10:33 +08:00
yfszzx 124e44cf1e remove browser to extension 2022-10-24 09:51:56 +08:00
yfszzx 6a9ea40d7f Move browser and Inspiration into extension 2022-10-23 16:17:37 +08:00
papuSpartan ce42879438 fix js func signature and not forget to initialize confirmation var to prevent exception upon cancelling confirmation 2022-10-22 14:53:37 -05:00
AUTOMATIC be748e8b08 add --freeze-settings commandline argument to disable changing settings 2022-10-22 22:05:22 +03:00
AUTOMATIC d213d6ca6f removed the option to use 2x more memory when generating previews
added an option to always only show one image in previews
removed duplicate code
2022-10-22 20:48:13 +03:00
Unnoen 4fdb53c1e9 Generate grid preview for progress image 2022-10-22 20:36:04 +03:00
AUTOMATIC1111 ffea9b1509
Merge pull request #3414 from discus0434/master
[Hypernetworks] Add a feature to use dropout / more activation functions
2022-10-22 19:32:13 +03:00
AUTOMATIC d37cfffd53 added callback for creating new settings in extensions 2022-10-22 19:18:56 +03:00
discus0434 97749b7c7d
Merge branch 'AUTOMATIC1111:master' into master 2022-10-22 22:00:59 +09:00
discus0434 7912acef72 small fix 2022-10-22 13:00:44 +00:00
AUTOMATIC 1cd3ed7def fix for extensions without style.css 2022-10-22 14:28:56 +03:00
discus0434 dcb45dfecf Merge branch 'master' of upstream 2022-10-22 11:14:46 +00:00
discus0434 0e8ca8e7af add dropout 2022-10-22 11:07:00 +00:00
AUTOMATIC 6398dc9b10 further support for extensions 2022-10-22 13:34:49 +03:00
AUTOMATIC 2b91251637 removed aesthetic gradients as built-in
added support for extensions
2022-10-22 12:23:58 +03:00
papuSpartan 700340448b forgot to clear neg prompt after moving to back. Add tooltip to hints 2022-10-21 17:24:04 -05:00
papuSpartan 0c7cf08b3d some doc and formatting 2022-10-21 15:32:26 -05:00
papuSpartan 9e40520f00 refactor internal terminology to use 'clear' instead of 'trash' like #2728 2022-10-21 15:13:12 -05:00
papuSpartan de70ddaf58 update token counter when clearing prompt 2022-10-21 15:00:35 -05:00
papuSpartan ee0505dd00 only delete prompt on back end and remove client-side deletion 2022-10-21 14:24:14 -05:00
papuSpartan 9ba372de90 initial work on getting prompts cleared on the backend and synchronizing token counter 2022-10-21 13:55:48 -05:00
papuSpartan 4a9ff0891a
Merge branch 'AUTOMATIC1111:master' into master 2022-10-21 13:53:32 -05:00
yfszzx bb0f1a2cda inspiration finished 2022-10-22 01:23:00 +08:00
AUTOMATIC 26d1073745 Merge remote-tracking branch 'historytab/master' 2022-10-21 18:49:56 +03:00
AUTOMATIC1111 5e9afa5c8a
Merge branch 'master' into fix/train-preprocess-keep-ratio 2022-10-21 18:36:29 +03:00
AUTOMATIC 704036ff07 make aspect ratio overlay work regardless of selected localization 2022-10-21 17:11:42 +03:00
AUTOMATIC df57064093 do not load aesthetic clip model until it's needed
add refresh button for aesthetic embeddings
add aesthetic params to images' infotext
2022-10-21 16:10:51 +03:00
AUTOMATIC 7d6b388d71 Merge branch 'ae' 2022-10-21 13:35:01 +03:00
AUTOMATIC1111 0c5522ea21
Merge branch 'master' into training-help-text 2022-10-21 09:57:55 +03:00
papuSpartan a3b047b7c7 add settings option to toggle button visibility 2022-10-20 19:28:58 -05:00
yfszzx d07cb46f34 inspiration pull request 2022-10-20 23:58:52 +08:00
Milly 85dd62c4c7 train: ui: added `Split image threshold` and `Split image overlap ratio` to preprocess 2022-10-20 23:35:01 +09:00
discus0434 f8733ad08b add linear as a act func (option for doin nothing) 2022-10-20 11:07:37 +00:00
papuSpartan 158d678f59 clear prompt button now works on both relevant tabs. Device detection stuff will be added later. 2022-10-20 01:08:24 -05:00
papuSpartan c6345bd445 nerf line length 2022-10-19 21:23:57 -05:00
discus0434 ba469343e6 align ui.py imports with upstream 2022-10-20 00:17:04 +00:00
discus0434 ecb433b220 update 2022-10-20 00:14:16 +00:00
discus0434 6f98e89486 update 2022-10-20 00:10:45 +00:00
papuSpartan 8b74b9aa9a add symbol for clear button and simplify roll_col css selector 2022-10-19 19:06:14 -05:00
DepFA 55d8c6cce6
default to ignore existing captions 2022-10-20 00:53:29 +01:00
DepFA ab353b141d
link existing txt option 2022-10-20 00:48:07 +01:00
DepFA 4d6b9f76a5
reorder create_hypernetwork params 2022-10-20 00:27:16 +01:00
DepFA 632e8d6602
split learn rates 2022-10-20 00:19:40 +01:00
DepFA 4d663055de
update ui with extra training options 2022-10-19 20:33:18 +01:00
DepFA eb7ba4b713
update training header text 2022-10-19 19:50:46 +01:00
Alexandre Simard 14c1c2b935 Show PB texts at same time and earlier
For big tasks (1000+ steps), waiting 1 minute to see ETA is long and this changes it so the number of steps done plays a role in showing the text as well.
2022-10-19 13:53:52 -04:00
Alexandre Simard 1e4809b251 Added a bit of padding to the left 2022-10-19 20:06:41 +03:00
Alexandre Simard 57eb1a64c8 Update ui.py 2022-10-19 20:06:41 +03:00
DepFA 019a3a88f0
Update ui.py 2022-10-19 17:15:47 +01:00
discus0434 365d4b1650
Merge branch 'AUTOMATIC1111:master' into master 2022-10-20 00:48:13 +09:00
AUTOMATIC1111 f510a2277e
Merge pull request #3086 from discus0434/master
Add settings for multi-layer structure hypernetworks
2022-10-19 18:40:53 +03:00
discus0434 3770b8d2fa enable to write layer structure of hn himself 2022-10-19 15:28:42 +00:00
discus0434 42fbda83bb layer options moves into create hnet ui 2022-10-19 14:30:33 +00:00
captin411 087609ee18
UI changes for focal point image cropping 2022-10-19 03:19:35 -07:00
MalumaDev 2362d5f00e
Merge branch 'master' into test_resolve_conflicts 2022-10-19 10:22:39 +02:00
AUTOMATIC1111 05315d8a23
Merge branch 'master' into hot-reload-javascript 2022-10-19 09:43:49 +03:00
Anastasius 1d4aa376e6 Predictable long operation check for time estimation 2022-10-19 09:39:28 +03:00
Anastasius 442dbedc15 Estimated time displayed if jobs take more 60 sec 2022-10-19 09:39:28 +03:00
Anastasius bcfbb33e50 Added time left estimation 2022-10-19 09:39:28 +03:00
Silent da72becb13 Use training width/height when training hypernetworks. 2022-10-19 09:13:28 +03:00
yfszzx 538bc89c26 Image browser improved 2022-10-19 11:27:51 +08:00
MalumaDev c2765c9bcd
Merge branch 'master' into test_resolve_conflicts 2022-10-18 17:27:30 +02:00
yfszzx eb299527b1 Image browser 2022-10-18 20:14:11 +08:00
ふぁ 3003438088 Add visible for dropdown 2022-10-18 15:08:23 +03:00
ふぁ de29ec0743 Remove exception handling 2022-10-18 15:08:23 +03:00
ふぁ 97d3ba3941 Add scripts to ui-config,json 2022-10-18 15:08:23 +03:00
trufty 8b02662215 Disable auto weights swap with config option 2022-10-18 14:19:06 +03:00
AUTOMATIC1111 f6c758d055
Merge branch 'master' into dark-mode 2022-10-18 14:04:17 +03:00
MalumaDev 1997ccff13
Merge branch 'master' into test_resolve_conflicts 2022-10-18 08:55:08 +02:00
Mykeehu 7432b6f4d2 Fix typo "celem_id" to "elem_id" 2022-10-18 08:59:14 +03:00
Jordan Hall ab3f997c0c Fix typo in 'choices' when loading upscaler 2 config 2022-10-18 00:27:16 +03:00