Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
5c363a9d
Commit
5c363a9d
authored
Sep 01, 2023
by
comfyanonymous
Browse files
Fix controlnet bug.
parent
cfe1c54d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy/controlnet.py
comfy/controlnet.py
+1
-1
No files found.
comfy/controlnet.py
View file @
5c363a9d
...
...
@@ -143,7 +143,7 @@ class ControlNet(ControlBase):
if
control_prev
is
not
None
:
return
control_prev
else
:
return
{}
return
None
output_dtype
=
x_noisy
.
dtype
if
self
.
cond_hint
is
None
or
x_noisy
.
shape
[
2
]
*
8
!=
self
.
cond_hint
.
shape
[
2
]
or
x_noisy
.
shape
[
3
]
*
8
!=
self
.
cond_hint
.
shape
[
3
]:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment