Skip to content

Open-Sora: Democratizing Efficient Video Production for All

Python

debug

Shen-Chenhui4c46972b64e4
diff --git a/opensora/utils/config_utils.py b/opensora/utils/config_utils.py
index 278cfde..c3dc5e0 100644
--- a/opensora/utils/config_utils.py
+++ b/opensora/utils/config_utils.py
@@ -22,7 +22,7 @@ def parse_args(training=False):
parser.add_argument("--seed", default=42, type=int, help="generation seed")
parser.add_argument("--ckpt-path", type=str, help="path to model ckpt; will overwrite cfg.ckpt_path if specified")
parser.add_argument("--batch-size", default=None, type=int, help="batch size")
- parser.add_argument("--outputs", default=None, type=int, help="the dir to save model weights")
+ parser.add_argument("--outputs", default=None, type=str, help="the dir to save model weights")
# ======================================================
# Inference