Files
hao-ai-lab-FastVideo/scripts/text_condition/gpu/sample_t2v.sh
T
2024-07-24 10:31:04 +00:00

18 lines
629 B
Bash

CUDA_VISIBLE_DEVICES=7 python opensora/sample/sample_t2v.py \
--model_path /path/to/checkpoint-xxx/model_ema \
--num_frames 29 \
--height 480 \
--width 640 \
--cache_dir "../cache_dir" \
--text_encoder_name google/mt5-xxl \
--text_prompt examples/prompt_list_0.txt \
--ae CausalVAEModel_D4_4x8x8 \
--ae_path "/path/to/causalvideovae" \
--save_img_path "./sample_video_29x4800p_cfg7.5_step100" \
--fps 24 \
--guidance_scale 7.5 \
--num_sampling_steps 100 \
--enable_tiling \
--max_sequence_length 512 \
--sample_method EulerAncestralDiscrete \
--model_type "dit"