Update f5_tts/model/cfm.py
Browse files- f5_tts/model/cfm.py +1 -1
f5_tts/model/cfm.py
CHANGED
|
@@ -161,7 +161,7 @@ class CFM(nn.Module):
|
|
| 161 |
|
| 162 |
def fn(t, x):
|
| 163 |
# at each step, conditioning is fixed
|
| 164 |
-
step_cond = torch.where(cond_mask, cond, torch.zeros_like(cond))
|
| 165 |
|
| 166 |
# predict flow
|
| 167 |
pred = self.transformer(
|
|
|
|
| 161 |
|
| 162 |
def fn(t, x):
|
| 163 |
# at each step, conditioning is fixed
|
| 164 |
+
# step_cond = torch.where(cond_mask, cond, torch.zeros_like(cond))
|
| 165 |
|
| 166 |
# predict flow
|
| 167 |
pred = self.transformer(
|