clh / scripts /nus_vae_gen_video.sh
LiuhanChen's picture
Add files using upload-large-folder tool
a71d323 verified
raw
history blame contribute delete
960 Bytes
export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
export NCCL_DEBUG=INFO
export NCCL_SOCKET_IFNAME=ibs11
export NCCL_IB_DISABLE=1
REAL_DATASET_DIR=/storage/dataset/vae_eval/panda70m
EXP_NAME=test_train
SAMPLE_RATE=1
NUM_FRAMES=33
RESOLUTION=256
SUBSET_SIZE=1000
CKPT=/storage/clh/Open-Sora/OpenSora-VAE-v1.2
unset https_proxy
unset http_proxy
torchrun \
--nnodes=1 --nproc_per_node=8 \
--rdzv_backend=c10d \
--rdzv_endpoint=localhost:29504 \
--master_addr=localhost \
--master_port=29600 \
scripts/rec_nus_vae.py\
--batch_size 1 \
--real_video_dir ${REAL_DATASET_DIR} \
--generated_video_dir /storage/clh/gen/488dim8 \
--sample_fps 24 \
--sample_rate ${SAMPLE_RATE} \
--num_frames ${NUM_FRAMES} \
--resolution ${RESOLUTION} \
--crop_size ${RESOLUTION} \
--num_workers 8 \
--ckpt ${CKPT} \
--config /storage/clh/Causal-Video-VAE/opensora/video.py\
--output_origin \
--subset_size 1000 \