You've already forked ComfyUI-WanVideoWrapper
mirror of
https://github.com/kijai/ComfyUI-WanVideoWrapper.git
synced 2026-01-26 23:41:35 +03:00
Fix possible uni3c issue
This commit is contained in:
@@ -857,7 +857,7 @@ def load_weights(transformer, sd=None, weight_dtype=None, base_dtype=None,
|
||||
vace_block_idx = int(name.split("vace_blocks.")[1].split(".")[0])
|
||||
except Exception:
|
||||
vace_block_idx = None
|
||||
elif name.startswith("blocks.") and "face" not in name:
|
||||
elif name.startswith("blocks.") and "face" not in name and "controlnet_blocks." not in name:
|
||||
try:
|
||||
block_idx = int(name.split("blocks.")[1].split(".")[0])
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user