clh / scripts /tats_gen_video.sh
LiuhanChen's picture
Add files using upload-large-folder tool
97c92c0 verified
raw
history blame contribute delete
881 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=/remote-home1/clh/dataset/panda70m_val
EXP_NAME=test_train
SAMPLE_RATE=1
NUM_FRAMES=32
RESOLUTION=256
SUBSET_SIZE=100
CKPT=/remote-home1/clh/TATS/vqgan_sky_128_488_epoch_12-step_29999-train.ckpt
torchrun \
--nnodes=1 --nproc_per_node=8 \
--rdzv_backend=c10d \
--rdzv_endpoint=localhost:29501 \
--master_addr=localhost \
--master_port=29600 \
scripts/rec_TATS_vae.py \
--batch_size 1 \
--real_video_dir ${REAL_DATASET_DIR} \
--generated_video_dir /remote-home1/clh/gen/TATS/panda70m \
--sample_fps 24 \
--sample_rate ${SAMPLE_RATE} \
--num_frames ${NUM_FRAMES} \
--resolution ${RESOLUTION} \
--crop_size ${RESOLUTION} \
--num_workers 8 \
--ckpt ${CKPT} \
--output_origin \