Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
AnimateDiff_pytorch
Commits
4c70bd85
Commit
4c70bd85
authored
Jan 31, 2024
by
mashun1
Browse files
Update README.md
parent
bd22529f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
README.md
README.md
+24
-24
No files found.
README.md
View file @
4c70bd85
...
...
@@ -83,6 +83,30 @@ http://www.robots.ox.ac.uk/~maxbain/webvid/results_10M_val.csv
注意:该数据集为训练数据集
## 训练
### 数据结构
data/
└── videos
├── xxx.mp4
└── xxx.mp4
└── xxx.csv
注意:数据准备完成后需要修改
`configs/trainging`
中
`yaml`
文件中数据路径,如下所示。
train_data:
csv_path: "data/results_2M_val.csv"
video_folder: "data/videos"
### 微调Unet原始层(image layers)
torchrun --nnodes=1 --nproc_per_node=1 train.py --config configs/training/v1/image_finetune.yaml
### 训练motion modules
torchrun --nnodes=1 --nproc_per_node=1 train.py --config configs/training/v1/training.yaml
## 推理
### 模型下载
...
...
@@ -165,30 +189,6 @@ https://huggingface.co/openai/clip-vit-large-patch14/tree/main
注意:以上仅是部分推理示例,可以自行修改或编写
`yaml`
文件。
## 训练
### 数据结构
data/
└── videos
├── xxx.mp4
└── xxx.mp4
└── xxx.csv
注意:数据准备完成后需要修改
`configs/trainging`
中
`yaml`
文件中数据路径,如下所示。
train_data:
csv_path: "data/results_2M_val.csv"
video_folder: "data/videos"
### 微调Unet原始层(image layers)
torchrun --nnodes=1 --nproc_per_node=1 train.py --config configs/training/v1/image_finetune.yaml
### 训练motion modules
torchrun --nnodes=1 --nproc_per_node=1 train.py --config configs/training/v1/training.yaml
## result

...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment