175 Commits (93c64afaa92b425fc863b80ee0b7c618705d7d60)

Author SHA1 Message Date
comfyanonymous 93c64afaa9 Use sampler callback instead of tqdm hook for progress bar. 2 years ago
comfyanonymous ba8a4c3667 Change latent resolution step to 8. 2 years ago
comfyanonymous 35f636b6c7 Expose grow_mask_by in VAEEncodeForInpaint.
The mask is dilated by grow_mask_by pixels after being applied to the pixel
space image. This helps reduce seams caused by inpainting. Higher value
means less seams.
2 years ago
comfyanonymous 0aa667ed33 Fix ConditioningAverage. 2 years ago
FizzleDorf 29c8f1a344
Conditioning Average (#495)
* first commit

* fixed a bunch of things missing in initial commit.

* parameters renamed for clarity

* renamed node, attempted update cond list

* to_strength removed, it is now normalized

* removed comments and prints. Attempted to apply to every cond in list again but no luck

* fixed repeating frames after batch using deepcopy

* Revert "fixed repeating frames after batch using deepcopy"

This reverts commit 1086d6a0e1f5c5c9247312872402ff8e60358fe1.

* Rewrite addWeighted to use torch.mul iteratively.

---------

Co-authored-by: City <125218114+city96@users.noreply.github.com>
2 years ago
comfyanonymous c66db06763 Make ConditioningSetMask area option a bit more clear.
Make ConditioningSetArea override the set_area_to_bounds.
2 years ago
comfyanonymous 071011aebe Mask strength should be separate from area strength. 2 years ago
Jacob Segal af02393c2a Default to sampling entire image
By default, when applying a mask to a condition, the entire image will
still be used for sampling. The new "set_area_to_bounds" option on the
node will allow the user to automatically limit conditioning to the
bounds of the mask.

I've also removed the dependency on torchvision for calculating bounding
boxes. I've taken the opportunity to fix some frustrating details in the
other version:
1. An all-0 mask will no longer cause an error
2. Indices are returned as integers instead of floats so they can be
   used to index into tensors.
2 years ago
Jacob Segal e214c917ae Add Condition by Mask node
This PR adds support for a Condition by Mask node. This node allows
conditioning to be limited to a non-rectangle area.
2 years ago
comfyanonymous aa57136dae Some fixes to the batch masks PR. 2 years ago
comfyanonymous c7c1f0d074 Merge branch 'multiple_inpaint_masks' of https://github.com/guill/ComfyUI
# Conflicts:
#	nodes.py
2 years ago
comfyanonymous c50208a703 Refactor more code to sample.py 2 years ago
comfyanonymous a2236a0c2a Merge branch 'master' of https://github.com/BlenderNeko/ComfyUI 2 years ago
BlenderNeko d9b1595f85 made sample functions more explicit 2 years ago
comfyanonymous ccad603b2e Add a way for nodes to validate their own inputs. 2 years ago
ltdrdata f7a8218814
Add clipspace feature. (#541)
* Add clipspace feature.
* feat: copy content to clipspace
* feat: paste content from clipspace

Extend validation to allow for validating annotated_path in addition to other parameters.

Add support for annotated_filepath in folder_paths function.

Generalize the '/upload/image' API to allow for uploading images to the 'input', 'temp', or 'output' directories.

* rename contentClipboard -> clipspace

* Do deep copy for imgs on copy to clipspace.

* add original_imgs into clipspace
* Preserve the original image when 'imgs' are modified

* robust patch & refactoring folder_paths about annotated_filepath

* Only show the Paste menu if the ComfyApp.clipspace is not empty

* instant refresh on paste

force triggering 'changed' on paste action

* subfolder fix on paste logic

attach subfolder if subfolder isn't empty

---------

Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2 years ago
BlenderNeko 5818539743 add docstrings 2 years ago
BlenderNeko 8d2de420d3 Merge branch 'master' of https://github.com/BlenderNeko/ComfyUI 2 years ago
BlenderNeko 2a09e2aa27 refactor/split various bits of code for sampling 2 years ago
comfyanonymous 5282f56434 Implement Linear hypernetworks.
Add a HypernetworkLoader node to use hypernetworks.
2 years ago
Jacob Segal ee030d281b Add support for multiple unique inpainting masks
This enables workflows like "Inpaint at full resolution" when using
batch sizes greater than 1.
2 years ago
comfyanonymous 31e60adb28 Add GLIGEN example to README. 2 years ago
comfyanonymous 3696d1699a Add support for GLIGEN textbox model. 2 years ago
comfyanonymous f03dade5ab Fix bug. 2 years ago
comfyanonymous 6f7852bc47 Add a LatentFromBatch node to pick a single latent from a batch.
Works before and after sampling.
2 years ago
comfyanonymous 74fc7b7726 custom_nodes paths can now be set in the extra_model_paths.yaml 2 years ago
comfyanonymous 73c3e11e83 Fix model_management import so it doesn't get executed twice. 2 years ago
comfyanonymous f48f0872e2 Refactor: move nodes_mask_convertion nodes to nodes_mask. 2 years ago
comfyanonymous e1db7a2038 Merge branch 'image-to-mask' of https://github.com/missionfloyd/ComfyUI
# Conflicts:
#	nodes.py
2 years ago
comfyanonymous 1a7cda715b Revert LatentComposite. 2 years ago
comfyanonymous fed4a70b8e Merge branch 'master' of https://github.com/mligaintart/ComfyUI 2 years ago
Gavroche CryptoRUSH d2337a86fe
remove extra semi-colon 2 years ago
missionfloyd 9371924e65 Move mask conversion to separate file 2 years ago
missionfloyd 45b907fbf1
Merge branch 'comfyanonymous:master' into image-to-mask 2 years ago
comfyanonymous f15b4a7ffa Merge branch 'fix-LoadImageMask' of https://github.com/flyingshutter/ComfyUI 2 years ago
missionfloyd e1d289c1ec
use slice instead of torch.select() 2 years ago
missionfloyd e12fb88b1b Image/mask conversion nodes 2 years ago
comfyanonymous 24d53992c6 Rename. 2 years ago
comfyanonymous 60ac983238 Merge branch 'master' of https://github.com/city96/ComfyUI 2 years ago
comfyanonymous 44fea05064 Cleanup. 2 years ago
comfyanonymous 58ed0f2da4 Fix loading SD1.5 diffusers checkpoint. 2 years ago
sALTaccount 7734d65f22 fix loading alt folders 2 years ago
sALTaccount f51b7a92c7 search all diffusers paths (oops) 2 years ago
sALTaccount 72a8973bd5 allow configurable path for diffusers models 2 years ago
mligaintart 022a9f271b Adds masking to Latent Composite, and provides new masking utilities to
allow better compositing.
2 years ago
flyingshutter 9d1c610b89 make LoadImagesMask work with non RGBA images 2 years ago
sALTaccount 42fd67b5cb use precision determined by model management 2 years ago
sALTaccount 3d16077e38 empty list if diffusers directory doesn't exist 2 years ago
sALTaccount 60127a8304 diffusers loader 2 years ago
comfyanonymous f816964847 Add a way to set output directory with --output-directory 2 years ago