From 4d1b9fd166c964b13542d31b44d080962e0439ee Mon Sep 17 00:00:00 2001 From: OleehyO Date: Thu, 12 Dec 2024 13:35:30 +0000 Subject: [PATCH] Fix for Disney video dataset --- finetune/finetune_multi_rank.sh | 2 +- finetune/finetune_single_rank.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/finetune/finetune_multi_rank.sh b/finetune/finetune_multi_rank.sh index 7ae8f9a..f6c34de 100644 --- a/finetune/finetune_multi_rank.sh +++ b/finetune/finetune_multi_rank.sh @@ -16,7 +16,7 @@ accelerate launch --config_file accelerate_config_machine_single.yaml --multi_gp --enable_tiling \ --enable_slicing \ --instance_data_root $DATASET_PATH \ - --caption_column prompts.txt \ + --caption_column prompt.txt \ --video_column videos.txt \ --validation_prompt "DISNEY A black and white animated scene unfolds with an anthropomorphic goat surrounded by musical notes and symbols, suggesting a playful environment. Mickey Mouse appears, leaning forward in curiosity as the goat remains still. The goat then engages with Mickey, who bends down to converse or react. The dynamics shift as Mickey grabs the goat, potentially in surprise or playfulness, amidst a minimalistic background. The scene captures the evolving relationship between the two characters in a whimsical, animated setting, emphasizing their interactions and emotions:::A panda, dressed in a small, red jacket and a tiny hat, sits on a wooden stool in a serene bamboo forest. The panda's fluffy paws strum a miniature acoustic guitar, producing soft, melodic tunes. Nearby, a few other pandas gather, watching curiously and some clapping in rhythm. Sunlight filters through the tall bamboo, casting a gentle glow on the scene. The panda's face is expressive, showing concentration and joy as it plays. The background includes a small, flowing stream and vibrant green foliage, enhancing the peaceful and magical atmosphere of this unique musical performance" \ --validation_prompt_separator ::: \ diff --git a/finetune/finetune_single_rank.sh b/finetune/finetune_single_rank.sh index 3cd4d23..8b45876 100644 --- a/finetune/finetune_single_rank.sh +++ b/finetune/finetune_single_rank.sh @@ -1,6 +1,6 @@ #!/bin/bash -export MODEL_PATH="THUDM/CogVideoX-2b" +export MODEL_PATH="THUDM/CogVideoX-5b" export CACHE_PATH="~/.cache" export DATASET_PATH="Disney-VideoGeneration-Dataset" export OUTPUT_PATH="cogvideox-lora-single-node" @@ -8,7 +8,7 @@ export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True export CUDA_VISIBLE_DEVICES=$CUDA_VISIBLE_DEVICES # if you are not using wth 8 gus, change `accelerate_config_machine_single.yaml` num_processes as your gpu number -accelerate launch --config_file accelerate_config_machine_single.yaml --multi_gpu \ +accelerate launch --config_file accelerate_config_machine_single.yaml \ train_cogvideox_lora.py \ --gradient_checkpointing \ --pretrained_model_name_or_path $MODEL_PATH \ @@ -16,7 +16,7 @@ accelerate launch --config_file accelerate_config_machine_single.yaml --multi_gp --enable_tiling \ --enable_slicing \ --instance_data_root $DATASET_PATH \ - --caption_column prompts.txt \ + --caption_column prompt.txt \ --video_column videos.txt \ --validation_prompt "DISNEY A black and white animated scene unfolds with an anthropomorphic goat surrounded by musical notes and symbols, suggesting a playful environment. Mickey Mouse appears, leaning forward in curiosity as the goat remains still. The goat then engages with Mickey, who bends down to converse or react. The dynamics shift as Mickey grabs the goat, potentially in surprise or playfulness, amidst a minimalistic background. The scene captures the evolving relationship between the two characters in a whimsical, animated setting, emphasizing their interactions and emotions:::A panda, dressed in a small, red jacket and a tiny hat, sits on a wooden stool in a serene bamboo forest. The panda's fluffy paws strum a miniature acoustic guitar, producing soft, melodic tunes. Nearby, a few other pandas gather, watching curiously and some clapping in rhythm. Sunlight filters through the tall bamboo, casting a gentle glow on the scene. The panda's face is expressive, showing concentration and joy as it plays. The background includes a small, flowing stream and vibrant green foliage, enhancing the peaceful and magical atmosphere of this unique musical performance" \ --validation_prompt_separator ::: \