Commit Graph

1651 Commits

Author SHA1 Message Date
Manuel Schmid dbc844804b
feat: add handling for stage2_mask_sam_max_num_boxes and config 2024-06-12 22:16:02 +02:00
Manuel Schmid 9998b52dd2
feat: add gradio elements for input 2024-06-12 21:52:48 +02:00
Manuel Schmid 190c4b0a6f
fix: do not set denoising_strength to async_worker dynamically
use parameter input and output
2024-06-12 21:51:49 +02:00
Manuel Schmid 2590230bcd
Merge branch 'main' into feature/multi-step-rendering 2024-06-11 22:56:35 +02:00
Manuel Schmid 07de6dd5f8
Merge remote-tracking branch 'upstream/main' 2024-06-11 22:56:17 +02:00
Manuel Schmid 55ef7608ea
feat: adjust playground_v2.5 preset (#3136)
* feat: reduce cfg of playground_v2.5 preset from 3 to 2 to prevent oversaturation

* feat: adjust default styles for playground_v2.5
2024-06-11 22:50:09 +02:00
Manuel Schmid e055510f1b
fix: use correct mask dimensions 2024-06-11 00:12:02 +02:00
Manuel Schmid b5b33361c9
feat: only process sam_options.dino_erode_or_dilate when set 2024-06-10 23:47:09 +02:00
Manuel Schmid ab3f4df935
feat: use vit_b as default for experiment 2024-06-10 23:46:50 +02:00
Manuel Schmid ead1ed617a
refactor: remove adetailer code 2024-06-10 23:46:25 +02:00
Manuel Schmid 29967d3a18
feat: add dino_erode_or_dilate and dino_debug again 2024-06-10 23:23:38 +02:00
Manuel Schmid 757863c023
feat: wrap sam model in model patcher for predict 2024-06-10 22:42:35 +02:00
Manuel Schmid 651f9c5cfd
refactor: rename box_erode_or_dilate to dino_erode_or_dilate, add option dino_debug 2024-06-10 20:47:22 +02:00
Manuel Schmid b8578a080a
fix: remove already declared config option 2024-06-10 20:46:25 +02:00
Manuel Schmid 3873892b0a
feat: change default_inpaint_mask_sam_model to match sam model registry 2024-06-10 20:45:56 +02:00
Manuel Schmid ce1fb74270
feat: add download for sam models to config 2024-06-10 20:33:49 +02:00
Manuel Schmid 980563de9d
feat: remove inpaint_mask_sam_quant 2024-06-10 20:32:12 +02:00
Manuel Schmid 8a81993940
wip: remove ultralytics, always use manual sam for image mask instead of rembg 2024-06-10 01:33:03 +02:00
Manuel Schmid 09e23f5509
refactor: add info to inpaint_mask_sam_prompt_text, rename variable for dino debugging 2024-06-09 23:09:46 +02:00
Manuel Schmid 57c049858c
feat: add debug dino and mask dilate and erode 2024-06-09 22:31:41 +02:00
Manuel Schmid f2e7b65ed3
wip: add experiments mask generation, install segment_anything v1.0 2024-06-09 18:48:01 +02:00
Manuel Schmid 8087861743
refactor: reorder inpaint_mask_sam_model by model size ascending 2024-06-09 18:46:18 +02:00
Manuel Schmid ff9fa6c837
feat: add box_erode_or_dilate to generate_mask_from_image, expose more sam return values 2024-06-09 18:45:13 +02:00
Manuel Schmid 9affa32583
feat: set inpaint_respective_field manually 2024-06-09 01:36:32 +02:00
Manuel Schmid 85b9005fa7
wip: adjust progressbar 2024-06-09 01:23:44 +02:00
Manuel Schmid 5d8353eb74
fix: correctly reset pipeline
reset unet and inpaint worker after each adetailer task, improve memory efficiency
2024-06-09 01:10:11 +02:00
Manuel Schmid df70294a3e
wip: add adetailer 2024-06-08 23:30:45 +02:00
Manuel Schmid bb72938261
refactor: always use format width, height 2024-06-08 21:41:30 +02:00
Manuel Schmid c79f6bd461
refactor: move methods to handler scope 2024-06-08 20:33:47 +02:00
Manuel Schmid c1f62361ba
refactor: add EarlyReturnException to prevent return value issues 2024-06-08 20:25:50 +02:00
Manuel Schmid e58d913fbb
refactor: extract async_worker handle method into separate functions 2024-06-08 19:55:31 +02:00
Manuel Schmid 9c352b6eb7
Merge branch 'main_upstream'
# Conflicts:
#	fooocus_version.py
#	modules/config.py
#	modules/extra_utils.py
2024-06-06 19:50:15 +02:00
Manuel Schmid db36766f34
Merge branch 'fix/try-parse-env-var-strings-as-boolean'
# Conflicts:
#	modules/config.py
2024-06-06 19:40:14 +02:00
Manuel Schmid ba77e7f706
release: bump version to 2.4.3, update changelog (#3109) 2024-06-06 19:34:44 +02:00
Manuel Schmid 5abae220c5
feat: parse env var strings to expected config value types (#3107)
* fix: add try_parse_bool for env var strings to enable config overrides of boolean values

* fix: fallback to given value if not parseable

* feat: extend eval to all valid types

* fix: remove return type

* fix: prevent strange type conversions by providing expected type

* feat: add tests
2024-06-06 19:29:08 +02:00
Manuel Schmid d56b092968
feat: add tests 2024-06-06 19:27:03 +02:00
Manuel Schmid 09be2c972c
fix: prevent strange type conversions by providing expected type 2024-06-06 19:13:17 +02:00
Manuel Schmid 2186d3e15d
fix: remove return type 2024-06-06 18:38:58 +02:00
Manuel Schmid bef79e3cb4
feat: extend eval to all valid types 2024-06-06 18:37:00 +02:00
Manuel Schmid beab2b9d48
fix: fallback to given value if not parseable 2024-06-06 18:20:14 +02:00
Manuel Schmid c4faf2ae6c
fix: add try_parse_bool for env var strings to enable config overrides of boolean values 2024-06-06 18:05:55 +02:00
Manuel Schmid c8093ac1ca
Merge branch 'lllyasviel:main' into main 2024-06-06 14:03:19 +02:00
Manuel Schmid 04d764820e
fix: correctly set alphas_cumprod (#3106) 2024-06-06 13:42:26 +02:00
Manuel Schmid 4574fd18d8
feat: reference correct repository as docker compose image 2024-06-06 09:56:32 +02:00
Manuel Schmid 219c494e58
feat: update readme 2024-06-05 22:11:57 +02:00
Manuel Schmid b113eca87e
release: bump version to 2.4.2, update changelog 2024-06-05 21:58:51 +02:00
Manuel Schmid 350fdd9021
Merge pull request #3095 from lllyasviel/develop
release v2.4.2
2024-06-05 21:50:42 +02:00
Manuel Schmid 85a8deecee
release: bump version to 2.4.2, update changelog 2024-06-05 21:30:43 +02:00
Manuel Schmid b58bc7774e
fix: correct sampling when gamma is 0 (#3093) 2024-06-04 21:03:37 +02:00
Manuel Schmid 2d55a5f257
feat: add support for playground v2.5 (#3073)
* feat: add support for playground v2.5

* feat: add preset for playground v2.5

* feat: change URL to mashb1t

* feat: optimize playground v2.5 preset
2024-06-04 20:15:49 +02:00