Commit Graph
383 Commits
Author SHA1 Message Date
mijuku233 f4b7dba485 feat: ImpactLogicalOperators (#461)
* Update __init__.py

* feat: ImpactLogicalOperators
2024-01-31 13:12:16 +09:00
mijuku233andDr.Lt.Data 2ffd006bec new node: ImpactIfNone (#460)
* Update __init__.py

* Update logics.py

---------

Co-authored-by: Dr.Lt.Data <dr.lt.data@gmail.com>
2024-01-30 17:02:45 +09:00
mijuku233 b798ed027f New node: ImpactConvertDataType (#457)
* Add a new node: Convert_data_type.py

* Update __init__.py

* Update logics.py

* Update __init__.py
2024-01-30 15:35:01 +09:00
Dr.Lt.Data cc7812bcfe Merge branch 'improve/regional-sampler' into Main 2024-01-27 18:33:57 +09:00
Dr.Lt.Data decff0d4c6 improve: Regional Sampler - use impact_sampling instead of KSamplerAdvanced.
- Handle the _sde sampler in a more appropriate manner.
2024-01-27 18:24:10 +09:00
Dr.Lt.Data b095838302 feat: DetailerForEachPipeForAnimateDiff
modify: change display name of SEGSDetailerForAnimateDiff
2024-01-27 12:27:48 +09:00
Dr.Lt.Data 0a9327bb5d version marker 2024-01-26 23:54:59 +09:00
Zixaphir 8028d3b6c0 Add "ControlnetApplyAdvanced (SEGS)" node (#452)
"ImpactControlNetApplyAdvancedSEGS"

Add a wrapper node for ControlNetApplyAdvanced that allows
editting the start and end percentages and also applies to the
negative conditioning on top of the positive (untangling these
features would require implementing a separate controlnet path,
as ComfyUI's "ControlNetAdvanced" implementation requires both.)
2024-01-26 23:53:43 +09:00
Dr.Lt.Data f83c907cba improve: UltralyticsDetectorProvider - For models where segm is not provided, X mark is provided indicating that it cannot be used. 2024-01-26 13:33:37 +09:00
Dr.Lt.Data c486e65f0f fix: feathering crash if too small crop_region
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/451
2024-01-25 21:16:12 +09:00
mijuku233 9e7c4ea155 Improve ImpactQueueTriggerCountdown (#450)
* Update logics.py

Improve ImpactQueueTriggerCountdown

* Update logics.py
2024-01-25 20:59:12 +09:00
Dr.Lt.Data 1af01b1ae3 fix: robust SafeToGPU
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/427
2024-01-24 14:26:15 +09:00
Dr.Lt.Data 170c9c35d9 improve: alpha preview for SEGS Picker. 2024-01-24 13:43:20 +09:00
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