File size: 347 Bytes
14ee1a9
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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"