Imag / t2v_inference.sh
Baraaqasem's picture
Upload 29 files
14ee1a9 verified
raw
history blame contribute delete
347 Bytes
#!/bin/bash
# Check if model and device parameters are provided
if [ "$#" -lt 2 ]; then
echo "Usage: $0 <model> <device>"
exit 1
fi
# The first command line argument is the model, the second is the device
model="$1"
device="$2"
CUDA_VISIBLE_DEVICES="$device" python3 ./src/videogen_hub/benchmark/text_guided_t2v.py --model_name "$model"