d984aa23cf
Add some helpful error messages when not loading SparseCtrl model or trying to use preprocessed RGB images with incompatible SparseCtrl
Jedrzej Kosinski2023-12-22 12:08:56 -06:00
db0493a34b
Make it clear Sparse RGB preproc output cannot be used for anything but Apply ControlNet nodes
Jedrzej Kosinski2023-12-22 11:44:57 -06:00
fa0a3dba4c
Automatically scale image before RGB Preproc does vae encoding, make sure RGB Preproc image isn't attempted to be used outside of Apply ControlNet nodes
Jedrzej Kosinski2023-12-22 11:12:23 -06:00
e674b995d0
Change latent upscaling to nearest-exact for now - will come up with a better solution after getting sleep
Jedrzej Kosinski2023-12-22 03:20:19 -06:00
491045b8f3
Apply missing scale factor via model's LatentFormat for RGB SparseCtrl
Jedrzej Kosinski2023-12-22 03:00:24 -06:00
2eebf83ff6
Fix center Spread logic to work as intended instead of just returning one index
Jedrzej Kosinski2023-12-22 00:47:38 -06:00
2757a4f17e
Properly set video length in SparseCtrl motion module, account for potential batched_number changes
Jedrzej Kosinski2023-12-19 10:59:45 -06:00
3bf77b1f82
Scribble SparseCtrl working, RGB still in progress - added SparseCtrl-related nodes
Jedrzej Kosinski2023-12-19 02:57:16 -06:00
ea3c846eae
Brought back ControlNetLoaderAdvanced/Diff timestep_keyframe names to avoid node name cutoff
Jedrzej Kosinski2023-11-30 10:14:39 -06:00
764409115d
Shortened some input/output names while maintaining backward compatibility, set default strength so that old workflows will work fine
Jedrzej Kosinski2023-11-30 10:07:02 -06:00
7e2d8b08fc
Moved prev_timestep_keyframe param on TimestepKeyframeNode to the top to make it less annoying to connect adjacent keyframes
Jedrzej Kosinski2023-11-30 04:36:21 -06:00
fb38e126ef
Made strength an optional param to keep old workflows from needing the Timestep Keyframe node to be manually replaced
Jedrzej Kosinski2023-11-30 04:13:50 -06:00
6c8216a889
Verify weights are compatible with loaded CN, fixed Scaled Soft Masked Weights in the case of a mask tensor with uniform max value, made Scaled Soft Masked Weights use same scaling for T2IAdapter as normal Scaled Soft Weights
Jedrzej Kosinski2023-11-29 13:57:25 -06:00
db7c535dc6
Fixed T2IAdvanced trying to copy itself as a ControlLoraAdvanced
Jedrzej Kosinski2023-11-29 11:53:05 -06:00
583d2c59b7
Scaled Soft Mask Weights added, fixed latent keyframe error when batch_index out of range, removed duplicate weight nodes, renamed TK outputs on weight nodes
Jedrzej Kosinski2023-11-29 11:39:23 -06:00
1e2d9a5491
Added masks to TimestepKeyframes, fixed duplication bug between runs with LatentKeyframes and TimestepKeyframes
Jedrzej Kosinski2023-11-29 03:36:36 -06:00
badf1d33b7
TimestepKeyframes work now, unified Weights, reorganized some noes (massive refactor all around)
Jedrzej Kosinski2023-11-28 14:55:22 -06:00
1f4fcff967
Added ControlLora full support, completed T2IAdapter full support, fixed Latent Keyframe Group node not working properly when optional latents are not passed in, made keyframe print statements optional+better
Jedrzej Kosinski2023-11-26 08:38:12 -06:00
f3a31815ca
Hopefully decreased RAM usage for large batches of cond_hint images by applying scaling to only sub_idx cond hints, when possible
Jedrzej Kosinski2023-11-01 19:31:06 -05:00
3a1db38349
Improved Latent Keyframe Interpolation node to handle all strengths appropriately without a need for manual flip_weights input
Jedrzej Kosinski2023-09-29 02:46:57 -05:00
2666ef7aeb
Using "UNion" instead of "|" for documenting return type to be python 3.9-compatible
Jedrzej Kosinski2023-09-22 11:41:46 -05:00
54810b307a
Fixed DiffControlNetLoaderAdvanced not updated to use timestep_keyframe, causing mismatch of params
Jedrzej Kosinski2023-09-20 13:10:40 -05:00
4af3b9a6a7
Fixed forgetting to rename variable to interpolation
Jedrzej Kosinski2023-09-20 04:46:33 -05:00
9dd12eab62
Renamed Latent Keyframe Timing node to Latent Keyframe Interpolation, changed 'timming' to 'interpolation'
Jedrzej Kosinski2023-09-20 04:42:41 -05:00
01e79d606e
Fixed ControlNet check - looks for exacty type match instead of isinstance to not mistake ControlLora for ControlNet
Jedrzej Kosinski2023-09-20 04:08:44 -05:00
2b144c4599
Fixed SDXL ControlLoras not working/breaking after last PR, simplified load_controlnet code further
Jedrzej Kosinski2023-09-20 03:34:18 -05:00
90f336dca6
simplified control.py to reuse original comfy load_controlnet
Tung Nguyen2023-09-19 16:01:57 +07:00
15e438100f
Updated to support sliding window usage by other extensions, added scaffolding code to support masks in controlnet, added logger for future use
Jedrzej Kosinski2023-09-18 11:23:01 -05:00
3cc9679b57
Refactored control.py code to decrease unnecessary code duplication, fixed T2IAdapter weight support (still does not support LatentKeyframe usage though)
Jedrzej Kosinski2023-09-04 08:41:18 -05:00
2d7f893124
Fixed application LatentKeyframe in ControlNetAdvanced to support any number of conds/unconds in batch, beginning work on version of ControlNetApply node that supports masking ControlNet's effect
Jedrzej Kosinski2023-09-04 03:50:02 -05:00
1a591069a8
fixed LatentKeyframe strength not actually being applied
Jedrzej Kosinski2023-09-02 08:22:33 -05:00
dcbccd43de
remove old code from ControlNetAdvanced (forgot to do it last commit)
Jedrzej Kosinski2023-09-01 05:34:26 -05:00
565fdf44a9
updated ControlNetAdvanced code to match with new ComfyUI commits
Jedrzej Kosinski2023-09-01 05:31:41 -05:00
25b60aa491
updated to work with latest ComfyUI, added Load Images node to batch load images (sorted), added timestep_keyframe output on weight nodes to simplify node connections if not chaining timestep_keyframes together
Jedrzej Kosinski2023-08-26 12:43:05 -05:00
354a8ce10c
Added LatentKeyframe and TimestepKeyframe nodes, updated Load ControlNet (Advanced) node to accept timestep_keyframe, added functionality to limit ControlNet's influence to one (or more) specific latents in a batch at specified strengths (useful for AnimateDiff)
Jedrzej Kosinski2023-08-26 07:04:13 -05:00
edc0a20815
updated control.py to account for most recent changes in base ComfyUI ControlNet code
Jedrzej Kosinski2023-08-20 00:41:35 -05:00
cdde0e30b2
fixed control net weights not initializing when no weights passed in, removed commented-out code
Jedrzej Kosinski2023-08-02 09:54:56 -05:00