fbnnb commited on
Commit
9a76153
·
verified ·
1 Parent(s): 6dbbc27

Update cldm/cldm.py

Browse files
Files changed (1) hide show
  1. cldm/cldm.py +2 -0
cldm/cldm.py CHANGED
@@ -336,6 +336,8 @@ class ControlNet(nn.Module):
336
  for module, zero_conv in zip(self.input_blocks, self.zero_convs):
337
  if guided_hint is not None:
338
  h = module(h, emb, context)
 
 
339
  h += guided_hint
340
  guided_hint = None
341
  else:
 
336
  for module, zero_conv in zip(self.input_blocks, self.zero_convs):
337
  if guided_hint is not None:
338
  h = module(h, emb, context)
339
+ print("h shape:", h.shape)
340
+ print("guided hint shape:", guided_hint.shape)
341
  h += guided_hint
342
  guided_hint = None
343
  else: