Skip to content

Commit 7a6dff2

Browse files
authored
Fixed optimizers parsing error in bash scripts (#61)
* replaced lambda statements with local functions to work with pickle in dataset.py and moved collate function outside of main and added its own class in cogvideox_image_to_video_lora.py * fixed merge issue * fixed row deletion merge * fixed row deletion merge * fixed comma-separated param issue in bash
1 parent db9b295 commit 7a6dff2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Before starting the training, please check whether the dataset has been prepared
7878
```bash
7979
LEARNING_RATES=("1e-4" "1e-3")
8080
LR_SCHEDULES=("cosine_with_restarts")
81-
OPTIMIZERS=("adamw", "adam")
81+
OPTIMIZERS=("adamw" "adam")
8282
MAX_TRAIN_STEPS=("3000")
8383
```
8484

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ diffusers(该分支为 CogVideoX 的图像到视频添加了 LoRA 加载支持
7777
```
7878
LEARNING_RATES=("1e-4" "1e-3")
7979
LR_SCHEDULES=("cosine_with_restarts")
80-
OPTIMIZERS=("adamw", "adam")
80+
OPTIMIZERS=("adamw" "adam")
8181
MAX_TRAIN_STEPS=("3000")
8282
```
8383

train_image_to_video_lora.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ GPU_IDS="0"
1010
# Experiment with as many hyperparameters as you want!
1111
LEARNING_RATES=("1e-4" "1e-3")
1212
LR_SCHEDULES=("cosine_with_restarts")
13-
OPTIMIZERS=("adamw", "adam")
13+
OPTIMIZERS=("adamw" "adam")
1414
MAX_TRAIN_STEPS=("3000")
1515

1616
# Single GPU uncompiled training

train_text_to_video_lora.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ GPU_IDS="0"
1010
# Experiment with as many hyperparameters as you want!
1111
LEARNING_RATES=("1e-4" "1e-3")
1212
LR_SCHEDULES=("cosine_with_restarts")
13-
OPTIMIZERS=("adamw", "adam")
13+
OPTIMIZERS=("adamw" "adam")
1414
MAX_TRAIN_STEPS=("3000")
1515

1616
# Single GPU uncompiled training

0 commit comments

Comments
 (0)