Update src/pipeline.py
Browse files- src/pipeline.py +1 -1
src/pipeline.py
CHANGED
|
@@ -122,7 +122,7 @@ class LossSchedulerModel(torch.nn.Module):
|
|
| 122 |
mul = D*K
|
| 123 |
norm_DE = torch.norm(mul)
|
| 124 |
C+= (mul) / (norm_DE + 1e-8)
|
| 125 |
-
C+= E
|
| 126 |
return C.to(xT.dtype)
|
| 127 |
|
| 128 |
|
|
|
|
| 122 |
mul = D*K
|
| 123 |
norm_DE = torch.norm(mul)
|
| 124 |
C+= (mul) / (norm_DE + 1e-8)
|
| 125 |
+
C+= D*E
|
| 126 |
return C.to(xT.dtype)
|
| 127 |
|
| 128 |
|