Skip to content

Open-Sora: Democratizing Efficient Video Production for All

Python

debug

Shen-Chenhui7e3951300f77
diff --git a/scripts/train-vae.py b/scripts/train-vae.py
index 0b93533..5a9b77b 100644
--- a/scripts/train-vae.py
+++ b/scripts/train-vae.py
@@ -186,8 +186,8 @@ def main():
dataloader.sampler.set_start_index(sampler_start_idx)
- # define loss function
- loss_function = VEA3DLoss(kl_weight=cfg.kl_weight, perceptual_weight=cfg.perceptual_weight).to(device, dtype)
+ # # define loss function
+ # loss_function = VEA3DLoss(kl_weight=cfg.kl_weight, perceptual_weight=cfg.perceptual_weight).to(device, dtype)
# # 6.2. training loop