fix
This commit is contained in:
parent
661bda45ea
commit
48ded3dbc7
|
@ -144,5 +144,5 @@ class Logger:
|
|||
|
||||
def log_video(self, video, step, mode="train"):
|
||||
assert mode in {"train", "eval"}
|
||||
wandb_video = self._wandb.Video(video, fps=self.cfg.fps, format="mp4")
|
||||
wandb_video = self._wandb.Video(video, fps=self._cfg.fps, format="mp4")
|
||||
self._wandb.log({f"{mode}/video": wandb_video}, step=step)
|
||||
|
|
Loading…
Reference in New Issue