QinOwen
commited on
Commit
·
9e782de
1
Parent(s):
824b515
add-vader_videocrafter
Browse files
VADER-VideoCrafter/scripts/run_text2video_inference.sh
DELETED
|
@@ -1,30 +0,0 @@
|
|
| 1 |
-
ckpt='checkpoints/base_512_v2/model.ckpt'
|
| 2 |
-
config='configs/inference_t2v_512_v2.0.yaml'
|
| 3 |
-
PORT=$((20000 + RANDOM % 10000))
|
| 4 |
-
|
| 5 |
-
accelerate launch --multi_gpu --main_process_port $PORT scripts/main/train_t2v_lora.py \
|
| 6 |
-
--seed 200 \
|
| 7 |
-
--mode 'base' \
|
| 8 |
-
--ckpt_path $ckpt \
|
| 9 |
-
--config $config \
|
| 10 |
-
--height 320 --width 512 \
|
| 11 |
-
--unconditional_guidance_scale 12.0 \
|
| 12 |
-
--ddim_steps 25 \
|
| 13 |
-
--ddim_eta 1.0 \
|
| 14 |
-
--frames 24 \
|
| 15 |
-
--prompt_fn 'chatgpt_custom_cute' \
|
| 16 |
-
--val_batch_size 1 \
|
| 17 |
-
--num_val_runs 1 \
|
| 18 |
-
--lora_rank 16 \
|
| 19 |
-
--inference_only True \
|
| 20 |
-
--project_dir ./project_dir/inference \
|
| 21 |
-
--lora_ckpt_path huggingface-pickscore \
|
| 22 |
-
--is_sample_preview True
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
ckpt='checkpoints/base_512_v2/model.ckpt'
|
| 27 |
-
config='configs/inference_t2v_512_v2.0.yaml'
|
| 28 |
-
PORT=$((20000 + RANDOM % 10000))
|
| 29 |
-
|
| 30 |
-
accelerate launch --multi_gpu --main_process_port 15009 scripts/main/train_t2v_lora.py --seed 200 --mode 'base' --ckpt_path 'checkpoints/base_512_v2/model.ckpt' --config 'configs/inference_t2v_512_v2.0.yaml' --height 320 --width 512 --unconditional_guidance_scale 12.0 --ddim_steps 25 --ddim_eta 1.0 --frames 24 --prompt_fn 'chatgpt_custom_cute' --val_batch_size 1 --num_val_runs 1 --lora_rank 16 --inference_only True --project_dir ./project_dir/inference --lora_ckpt_path huggingface-pickscore --is_sample_preview True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VADER-VideoCrafter/scripts/run_text2video_train.sh
DELETED
|
@@ -1,28 +0,0 @@
|
|
| 1 |
-
ckpt='checkpoints/base_512_v2/model.ckpt'
|
| 2 |
-
config='configs/inference_t2v_512_v2.0.yaml'
|
| 3 |
-
PORT=$((20000 + RANDOM % 10000))
|
| 4 |
-
|
| 5 |
-
accelerate launch --multi_gpu --main_process_port $PORT scripts/main/train_t2v_lora.py \
|
| 6 |
-
--seed 300 \
|
| 7 |
-
--mode 'base' \
|
| 8 |
-
--ckpt_path $ckpt \
|
| 9 |
-
--config $config \
|
| 10 |
-
--height 320 --width 512 \
|
| 11 |
-
--unconditional_guidance_scale 12.0 \
|
| 12 |
-
--ddim_steps 25 \
|
| 13 |
-
--ddim_eta 1.0 \
|
| 14 |
-
--frames 12 \
|
| 15 |
-
--prompt_fn 'chatgpt_custom_instruments' \
|
| 16 |
-
--gradient_accumulation_steps 8 \
|
| 17 |
-
--num_train_epochs 200 \
|
| 18 |
-
--train_batch_size 1 \
|
| 19 |
-
--val_batch_size 1 \
|
| 20 |
-
--num_val_runs 1 \
|
| 21 |
-
--reward_fn 'aesthetic_hps' \
|
| 22 |
-
--decode_frame '-1' \
|
| 23 |
-
--hps_version 'v2.1' \
|
| 24 |
-
--lr 0.0002 \
|
| 25 |
-
--validation_steps 10 \
|
| 26 |
-
--lora_rank 16 \
|
| 27 |
-
--is_sample_preview True
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|