mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-12 02:26:46 +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:
|
else:
|
||||||
disabled_sa = False
|
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(
|
layers.append(
|
||||||
SpatialTransformer(
|
SpatialTransformer(
|
||||||
ch, num_heads, dim_head, depth=num_transformers, context_dim=context_dim,
|
ch, num_heads, dim_head, depth=num_transformers, context_dim=context_dim,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user