clh / scripts /eval.sh
LiuhanChen's picture
Add files using upload-large-folder tool
a71d323 verified
raw
history blame contribute delete
684 Bytes
# REAL_DATASET_DIR=/remote-home1/dataset/OpenMMLab___Kinetics-400/raw/Kinetics-400/videos_val/
SAMPLE_RATE=1
REAL_DATASET_DIR=/storage/clh/video_control/DAVIS_119pairs_test/CogVideoXI/CogVideoXI_25x720x480_50steps_prompt
NUM_FRAMES=25
RESOLUTION=256
SUBSET_SIZE=119
METRIC=ssim
python causalvideovae/eval/eval_common_metric.py \
--batch_size 1 \
--real_video_dir ${REAL_DATASET_DIR} \
--generated_video_dir /storage/clh/video_control/DAVIS_119pairs_test/gt/25x720x480 \
--device cuda:4 \
--sample_fps 24 \
--sample_rate ${SAMPLE_RATE} \
--num_frames ${NUM_FRAMES} \
--resolution ${RESOLUTION} \
--crop_size ${RESOLUTION} \
--metric ${METRIC} \