Skip to content

Commit

Permalink
Update hook.py (AUTOMATIC1111#1600)
Browse files Browse the repository at this point in the history
  • Loading branch information
lllyasviel authored Jun 9, 2023
1 parent 69f5760 commit 05e6696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def aligned_adding(base, x, require_channel_alignment):

if xh > 1 or xw > 1:
if base_h != xh or base_w != xw:
print('[Warning] ControlNet finds unexpected mis-alignment in tensor shape.')
# print('[Warning] ControlNet finds unexpected mis-alignment in tensor shape.')
x = th.nn.functional.interpolate(x, size=(base_h, base_w), mode="nearest")

return base + x
Expand Down

0 comments on commit 05e6696

Please sign in to comment.