Skip to content

Commit a5edca5

Browse files
committed
Will refactor controlnet_cond_embedding initialization
1 parent 7ad6865 commit a5edca5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/research_projects/anytext/text_controlnet.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ def __init__(
172172
global_pool_conditions,
173173
addition_embed_type_num_heads,
174174
)
175-
self.controlnet_cond_embedding = None # This part is computed inside AuxiliaryLatentModel
175+
self.controlnet_cond_embedding = (
176+
None # TODO: Instead of this, design a custom `ControlNetConditioningEmbedding`
177+
)
176178

177179
def forward(
178180
self,

0 commit comments

Comments
 (0)