We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
concept_text_enc
1 parent ef354a1 commit bd6e3f9Copy full SHA for bd6e3f9
perfusion_pytorch/perfusion.py
@@ -97,9 +97,9 @@ def forward(
97
98
# update using exponential moving average
99
100
- ema_concept_text_enc = ema_concept_text_enc * decay + concept_text_enc * (1. - decay)
+ concept_text_enc = ema_concept_text_enc * decay + concept_text_enc * (1. - decay)
101
102
self.initted[prompt_ids] = True
103
- self.ema_concept_text_enc[prompt_ids] = ema_concept_text_enc
+ self.ema_concept_text_enc[prompt_ids] = concept_text_enc
104
105
return einsum('b n i, o i -> b n o', text_enc, weights)
0 commit comments