motion-stream / TRAIN_motionstreamer.sh
zirobtc's picture
Initial upload of MotionStreamer code, excluding large extracted data and output folders.
60b86d7 verified
raw
history blame contribute delete
423 Bytes
NUM_GPUS=${1:-1} # default: 1 GPU
BATCH_SIZE=$((30 / NUM_GPUS))
echo "Using $NUM_GPUS GPUs, each with a batch size of $BATCH_SIZE"
accelerate launch --num_processes $NUM_GPUS train_motionstreamer.py \
--batch-size $BATCH_SIZE \
--lr 0.0001 \
--total-iter 100000 \
--out-dir Experiments \
--exp-name motionstreamer_model \
--dataname t2m_babel_272 \
--latent_dir babel_272_stream/t2m_babel_latents \
--num_gpus $NUM_GPUS