Commit Graph
370 Commits
Author SHA1 Message Date
Dr.Lt.Data eb4801e823 feat: ImpactConditionalBranchSelMode 2024-01-24 12:44:14 +09:00
mijuku233 b2dd2ce794 Update logics.py (#446)
Cancel cond forceInput
2024-01-23 12:49:03 +09:00
Dr.Lt.Data 837ac5c1f7 improve: wildcard supports seed (rgthree)
related issue:
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/432
2024-01-15 14:44:31 +09:00
Dr.Lt.Data 6183c00b95 fix: invalid empty mask size
related issue:
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/433
2024-01-15 14:22:12 +09:00
Dr.Lt.Data b9eb80f599 fix: wildcard cannot load lora if extension is not omitted. 2024-01-15 14:14:23 +09:00
Dr.Lt.Data 50bd68238f fix: SAMDetector (combined) return mask which is same size with image even if empty mask 2024-01-13 20:43:42 +09:00
Dr.Lt.Data b15c583917 improve: MakeTileSEGS - irregular mask feature 2024-01-13 20:05:07 +09:00
Dr.Lt.Data 6bc63ef415 feat: detailer - noise_mask_feather 2024-01-13 15:17:54 +09:00
Dr.Lt.Data 31b3db7b16 fix: don't move to device when VRAM isn't enough 2024-01-13 13:56:43 +09:00
Dr.Lt.Data c5c5e5c22d improve: detailer wildcard - random seed support [SEP:R] 2024-01-13 13:44:26 +09:00
Dr.Lt.Data 3f89d6efb5 feat: detailer wildcard - seed support
- syntax [SEP:seed]
2024-01-13 13:26:24 +09:00
Dr.Lt.Data 8fc1073204 fix: detailer - error when noise_mask is disabled 2024-01-13 01:02:28 +09:00
Dr.Lt.Data 1f0b2fb79c improve: SAMLoader - consider smart memory management 2024-01-12 22:28:35 +09:00
Dr.Lt.Data 7f7646b72f feat: ControlNetApply (SEGS) - support control_image
feat: SEGSPreviewCnet
2024-01-12 16:26:01 +09:00
Dr.Lt.Data 3169234402 Revert "refactor: inpaint_model -> inpainting_model"
This reverts commit 01e35166d2.
2024-01-12 10:15:51 +09:00
Dr.Lt.Data 01e35166d2 refactor: inpaint_model -> inpainting_model 2024-01-12 09:47:02 +09:00
Dr.Lt.Data 5ef704c022 detailer supports InpaintModelConditioning node instead of PR (https://github.com/comfyanonymous/ComfyUI/pull/2501)
https://github.com/comfyanonymous/ComfyUI/commit/10f2609fdd2231faf40346df11372601385b6cbb
2024-01-11 19:36:58 +09:00
Dr.Lt.Data 0df8f5809d fix: prevent defineProperty overriding 2024-01-11 13:50:19 +09:00
Dr.Lt.Data 1e445bcacf feat: Detailer - support inpaint_model
support to this PR.
https://github.com/comfyanonymous/ComfyUI/pull/2501
2024-01-10 00:26:26 +09:00
Dr.Lt.Data 5e225e9d5a fix: MakeTileSEGS - invalid calculation on optimization 2024-01-08 00:52:03 +09:00
Dr.Lt.Data f1c3afdbdb optimize: MakeTileSEGS
- make optimal SEGS when filter_in_segs_opt is given
2024-01-07 23:49:59 +09:00
Dr.Lt.Data 510d4355f2 fix: SEGSPreview - sideeffect to cropped_mask in SEGS 2024-01-07 15:47:30 +09:00
Dr.Lt.Data 3c25e6f52e fix: MakeTileSEGS - invalid calculation 2024-01-07 15:20:44 +09:00
Dr.Lt.Data c6a5a0f98a feat: MakeTileSEGS - filter_in_segs_opt, filter_out_segs_opt
improve: detailer - set different seed for each SEGS
2024-01-07 13:12:28 +09:00
Dr.Lt.Data f6ec3a8164 feat: ImpactMakeTileSEGS, RemoveImageFromSEGS
improve: SEGSPreview - add min_alpha

improve: grow default guide_size and max_size

refactor: move several nodes from impact_pack.py -> util_nodes.py
2024-01-06 16:59:48 +09:00
Dr.Lt.Data 4aec82be08 fix: SAMLoader - Confirmed that VRAM is releasing properly in auto mode. 2024-01-04 01:21:28 +09:00
Dr.Lt.Data 265738e71f fix: cnet segs application cannot be stacked 2024-01-02 23:47:29 +09:00
Dr.Lt.Data 77b0cd21b6 refactor: use cm_global instead of sys.CM_api
feat: register extension information
2024-01-02 17:08:05 +09:00
Dr.Lt.Data 5ff4b3f0bc fix: install.py - install GitPython before install subpack 2024-01-01 10:06:46 +09:00
JonasandJonas Krauss c4839a8b91 add check for type of cropped image to support controlnet segs workflow (#407)
Co-authored-by: Jonas Krauss <jonas.krauss@stockpulse.de>
2023-12-31 01:07:19 +09:00
Dr.Lt.Data ddaedfe836 feat: ImpactWildcardEncode - support BREAK syntax 2023-12-30 00:58:08 +09:00
kamnxtandDr.Lt.Data 36fbaab563 Improve wildcards and fix a bug (#319)
* Improve wildcards and fix a bug

This commit fixes two issues with wildcards:

- Using a single count value no longer worked due to .strip() being
  called on a None value from matching the upper range,
  when using a wildcard like {2$$a|b|c},
  while {2-2$$a|b|c} worked fine. Added a check to fix that.

- Choosing options was implemented in an odd way. The code would choose
  up to `count` values, then put them in a `set` to prevent duplicates.
  Then retry up to 10 times to get values in case the correct count
  wasn't reached. This had a few issues: {2$$a|a|b} would always choose
  "b a", always in this order! However, {2$$1::a|a|b}, which should be
  identical, gives either "a a" or "b a"!

- When the number of items to choose was more than the count of items to
  choose, the items would be returned in the original order, meaning for
  example {3-6$$a|b|c|d} returns "a b c d" way more often than it
  should. This is changed to shuffle the order when choosing all the
  items.

- As NumPy already had a way to choose N items without replacement and
  with weights, the code has been changed to use a NumPy Generator. This
  means previous seeds are no longer compatible, but also means we don't
  re-seed the built-in Python `random` generator.

- I have also added a "ImpactWildcardUnprocessed" node, in order to have
  a multiline text input node that doesn't do ComfyUI's built in
  wildcard replacement, so it's possible to put a prompt in a separate
  node from the WildcardProcessor (or have a few ones to connect
  manually). Due to the way things are processed both on the JS side and
  the backend side, sadly concatenating text for use in wildcards
  doesn't work yet.

* fix: random_gen.shuffle is side-effect function

* version marker

---------

Co-authored-by: Dr.Lt.Data <dr.lt.data@gmail.com>
2023-12-29 23:41:04 +09:00
narukaze132 c5cdfa2f40 Added ImpactLatentInfo (#402) 2023-12-29 07:40:13 +09:00
Dr.Lt.Data 9d22e7e55c fix: mask_to_segs - side effect of combined+bbox fill 2023-12-28 22:14:48 +09:00
Dr.Lt.Data 4667ba1a8a fix: mask_to_segs - bbox_fill doesn't work when combined mode 2023-12-28 22:07:12 +09:00
Dr.Lt.Data 7c96cdb771 feat: SEGSOrderedFilterDetailerHook, SEGSRangeFilterDetailerHook, SEGSLabelFilterDetailerHook
refactor: hooks, hook_nodes, defs
2023-12-27 19:50:56 +09:00
Dr.Lt.Data 7f70bf0eee fix: return 3d mask as possible
- MaskComposite requires 3d mask
2023-12-26 23:47:42 +09:00
Dr.Lt.Data da9d04d9a2 feat: Detailer wildcards - [CONCAT] support 2023-12-26 20:32:53 +09:00
Dr.Lt.Data a9440d63ec refactor: class name 2023-12-26 00:38:47 +09:00
Dr.Lt.Data f942627b12 fix: SEGSPreview - crash 2023-12-25 23:10:37 +09:00
Dr.Lt.Data 2555beb5cd feat: Detailer For AnimateDiff - support batch mask 2023-12-25 23:06:36 +09:00
Dr.Lt.Data c4ef168cc7 improve: display proper error message for detectors 2023-12-25 00:40:04 +09:00
Dr.Lt.Data 4d39c93122 Merge remote-tracking branch 'origin/Main' into Main 2023-12-24 10:17:54 +09:00
Dr.Lt.Data bcab35a3b1 fix: non pipe FaceDetailer - invalid cropped_enhanced_alpha 2023-12-24 10:17:45 +09:00
narukaze132 0742390991 Fixed LoRA model/clip strength in wildcards (#396) 2023-12-24 09:44:02 +09:00
Dr.Lt.Data 1e6e0f92bf improve: support for installing custom nodes based on the ComfyUI-Manager dependency. 2023-12-23 16:47:22 +09:00
Dr.Lt.Data fe5a8cbf8a improve: better error message
refactor: rename IterativeLatentUpscaler
2023-12-23 13:53:45 +09:00
Dr.Lt.Data 75799f5834 improve: FaceDetailer allows image batch input 2023-12-23 13:16:12 +09:00
Dr.Lt.Data d1aaa4a097 feat: Gaussian Blur Mask, Dilate Mask (SEGS), Gaussian Blur Mask (SEGS)
refactor: feather/gaussian blur
fix: Mask To SEGS - invalid conversion when mask is donut shape
fix: SEGS Paste/SEGS Preview - proper alpha handling
2023-12-23 11:43:38 +09:00
Dr.Lt.Data 483594f6be Included code patch for Unsampler of ComfyUI_Noise in the current codebase. 2023-12-22 22:27:53 +09:00