mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-11 17:33:32 +08:00
double negative -> positive
double negative -> positive
This commit is contained in:
parent
dd156556ca
commit
ca94622f3f
@ -238,7 +238,7 @@ class ControlNet(nn.Module):
|
||||
else:
|
||||
disabled_sa = False
|
||||
|
||||
if num_attention_blocks is not None or nr < num_attention_blocks[level]:
|
||||
if num_attention_blocks is None or nr < num_attention_blocks[level]:
|
||||
layers.append(
|
||||
SpatialTransformer(
|
||||
ch, num_heads, dim_head, depth=num_transformers, context_dim=context_dim,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user