Skip to content

Open-Sora: Democratizing Efficient Video Production for All

Python

debug

Shen-Chenhui0a5c767fc76d
diff --git a/scripts/train-vae.py b/scripts/train-vae.py
index c04637d..6966b71 100644
--- a/scripts/train-vae.py
+++ b/scripts/train-vae.py
@@ -328,7 +328,7 @@ def main():
for idx, sample in enumerate(reconstructions):
pos = step * cfg.batch_size + idx
save_path = os.path.join("outputs/debug", f"sample_{pos}")
- save_sample(sample, fps=cfg.fps, save_path=save_path)
+ save_sample(sample, fps=8, save_path=save_path)
print("test loss:", running_loss)