Open-Sora: Democratizing Efficient Video Production for All
Python
fix launch error
Shen-Chenhuif0a9fc32b057
diff --git a/eval/README.md b/eval/README.mdindex bf349b9..31b294a 100644--- a/eval/README.md+++ b/eval/README.md@@ -10,7 +10,7 @@ bash eval/sample.sh /path/to/ckpt num_frames model_name_for_log -1# video (2a 2b 2c ...)bash eval/sample.sh /path/to/ckpt num_frames model_name_for_log -2a# launch 8 jobs at once (you must read the script to understand the details)-bash eval/human_eval/launch.sh /path/to/ckpt /path/to/ckpt num_frames model_name_for_log+bash eval/human_eval/launch.sh /path/to/ckpt num_frames model_name_for_log```## Rectified Flow Lossdiff --git a/eval/sample.sh b/eval/sample.shindex 3ae760d..5d94d23 100644--- a/eval/sample.sh+++ b/eval/sample.sh@@ -7,12 +7,22 @@ CKPT=$1NUM_FRAMES=$2MODEL_NAME=$3+echo "NUM_FRAMES=${NUM_FRAMES}"+if [ -z "${NUM_FRAMES}" ]; then+ echo "you need to pass NUM_FRAMES"+elselet DOUBLE_FRAMES=$2*2let QUAD_FRAMES=$2*4let OCT_FRAMES=$2*8fi+echo "DOUBLE_FRAMES=${DOUBLE_FRAMES}"+echo "QUAD_FRAMES=${QUAD_FRAMES}"+echo "OCT_FRAMES=${OCT_FRAMES}"+++CMD="python scripts/inference.py configs/opensora-v1-2/inference/sample.py"CMD_REF="python scripts/inference-long.py configs/opensora-v1-2/inference/sample.py"if [[ $CKPT == *"ema"* ]]; then