Show DeMemWM training loss in progress bar
Browse files
algorithms/dememwm/df_video.py
CHANGED
|
@@ -596,7 +596,7 @@ class DeMemWMMinecraft(DiffusionForcingBase):
|
|
| 596 |
loss = self.reweight_loss(loss, None)
|
| 597 |
|
| 598 |
if batch_idx % 20 == 0:
|
| 599 |
-
self.log("training/loss", loss.
|
| 600 |
|
| 601 |
return {"loss": loss}
|
| 602 |
raise TypeError(
|
|
|
|
| 596 |
loss = self.reweight_loss(loss, None)
|
| 597 |
|
| 598 |
if batch_idx % 20 == 0:
|
| 599 |
+
self.log("training/loss", loss.detach(), prog_bar=True, sync_dist=True)
|
| 600 |
|
| 601 |
return {"loss": loss}
|
| 602 |
raise TypeError(
|