anchorxia commited on
Commit
96d7ad8
1 Parent(s): cf75363
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. MuseV/Dockerfile +18 -0
  2. MuseV/LICENSE +21 -0
  3. MuseV/README-zh.md +542 -0
  4. MuseV/README.md +545 -0
  5. MuseV/configs/model/T2I_all_model.py +15 -0
  6. MuseV/configs/model/ip_adapter.py +66 -0
  7. MuseV/configs/model/lcm_model.py +17 -0
  8. MuseV/configs/model/motion_model.py +22 -0
  9. MuseV/configs/model/negative_prompt.py +32 -0
  10. MuseV/configs/model/referencenet.py +14 -0
  11. MuseV/configs/tasks/example.yaml +210 -0
  12. MuseV/data/demo/cyber_girl.png +3 -0
  13. MuseV/data/demo/video1.mp4 +3 -0
  14. MuseV/data/images/Mona_Lisa.jpg +3 -0
  15. MuseV/data/images/Portrait-of-Dr.-Gachet.jpg +3 -0
  16. MuseV/data/images/Self-Portrait-with-Cropped-Hair.jpg +3 -0
  17. MuseV/data/images/The-Laughing-Cavalier.jpg +3 -0
  18. MuseV/data/images/boy_play_guitar.jpeg +3 -0
  19. MuseV/data/images/boy_play_guitar2.jpeg +3 -0
  20. MuseV/data/images/cyber_girl.png +3 -0
  21. MuseV/data/images/duffy.png +3 -0
  22. MuseV/data/images/dufu.jpeg +3 -0
  23. MuseV/data/images/girl_play_guitar2.jpeg +3 -0
  24. MuseV/data/images/girl_play_guitar4.jpeg +3 -0
  25. MuseV/data/images/jinkesi2.jpeg +3 -0
  26. MuseV/data/images/river.jpeg +3 -0
  27. MuseV/data/images/seaside2.jpeg +3 -0
  28. MuseV/data/images/seaside4.jpeg +3 -0
  29. MuseV/data/images/seaside_girl.jpeg +3 -0
  30. MuseV/data/images/spark_girl.png +3 -0
  31. MuseV/data/images/waterfall4.jpeg +3 -0
  32. MuseV/data/images/yongen.jpeg +3 -0
  33. MuseV/data/models/musev_structure.png +3 -0
  34. MuseV/data/models/parallel_denoise.png +3 -0
  35. MuseV/data/result_video/Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.mp4 +3 -0
  36. MuseV/data/result_video/Portrait-of-Dr.-Gachet.mp4 +3 -0
  37. MuseV/data/result_video/Self-Portrait-with-Cropped-Hair.mp4 +3 -0
  38. MuseV/data/result_video/The-Laughing-Cavalier.mp4 +3 -0
  39. MuseV/data/result_video/boy_play_guitar.mp4 +3 -0
  40. MuseV/data/result_video/boy_play_guitar2.mp4 +3 -0
  41. MuseV/data/result_video/dufu.mp4 +3 -0
  42. MuseV/data/result_video/girl_play_guitar2.mp4 +3 -0
  43. MuseV/data/result_video/girl_play_guitar4.mp4 +3 -0
  44. MuseV/data/result_video/jinkesi2.mp4 +3 -0
  45. MuseV/data/result_video/river.mp4 +3 -0
  46. MuseV/data/result_video/seaside2.mp4 +3 -0
  47. MuseV/data/result_video/seaside4.mp4 +3 -0
  48. MuseV/data/result_video/seaside_girl.mp4 +3 -0
  49. MuseV/data/result_video/waterfall4.mp4 +3 -0
  50. MuseV/data/result_video/yongen.mp4 +3 -0
MuseV/Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM anchorxia/musev:1.0.0
2
+
3
+ #MAINTAINER 维护者信息
4
+ LABEL MAINTAINER="anchorxia"
5
+ LABEL Email="anchorxia@tencent.com"
6
+ LABEL Description="musev gpu runtime image, base docker is pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel"
7
+ ARG DEBIAN_FRONTEND=noninteractive
8
+
9
+ USER root
10
+
11
+ SHELL ["/bin/bash", "--login", "-c"]
12
+
13
+ RUN . /opt/conda/etc/profile.d/conda.sh \
14
+ && echo "source activate musev" >> ~/.bashrc \
15
+ && conda activate musev \
16
+ && conda env list \
17
+ && pip --no-cache-dir install cuid gradio==4.12 spaces
18
+ USER root
MuseV/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2024 TMElyralab
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
MuseV/README-zh.md ADDED
@@ -0,0 +1,542 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MuseV [English](README.md) [中文](README-zh.md)
2
+
3
+ <font size=5>MuseV:基于视觉条件并行去噪的无限长度和高保真虚拟人视频生成。
4
+ </br>
5
+ Zhiqiang Xia <sup>\*</sup>,
6
+ Zhaokang Chen<sup>\*</sup>,
7
+ Bin Wu<sup>†</sup>,
8
+ Chao Li,
9
+ Kwok-Wai Hung,
10
+ Chao Zhan,
11
+ Yingjie He,
12
+ Wenjiang Zhou
13
+ (<sup>*</sup>co-first author, <sup>†</sup>Corresponding Author, benbinwu@tencent.com)
14
+ </font>
15
+
16
+ **[github](https://github.com/TMElyralab/MuseV)** **[huggingface](https://huggingface.co/TMElyralab/MuseV)** **[HuggingfaceSpace](https://huggingface.co/spaces/AnchorFake/MuseVDemo)** **[project](https://tmelyralab.github.io/)** **Technical report (comming soon)**
17
+
18
+
19
+ 我们在2023年3月相信扩散模型可以模拟世界,也开始基于扩散模型研发世界视觉模拟器。`MuseV`是在 2023 年 7 月左右实现的一个里程碑。受到 Sora 进展的启发,我们决定开源 MuseV。MuseV 站在开源的肩膀上成长,也希望能够借此反馈社区。接下来,我们将转向有前景的扩散+变换器方案。
20
+
21
+ 我们已经发布 <a href="https://github.com/TMElyralab/MuseTalk" style="font-size:24px; color:red;">MuseTalk</a>. `MuseTalk`是一个实时高质量的唇同步模型,可与 `MuseV` 一起构建完整的`虚拟人生成解决方案`。请保持关注!
22
+
23
+ # 概述
24
+
25
+ `MuseV` 是基于扩散模型的虚拟人视频生成框架,具有以下特点:
26
+
27
+ 1. 支持使用新颖的视觉条件并行去噪方案进行无限长度生成,不会再有误差累计的问题,尤其适用于固定相机位的场景。
28
+ 1. 提供了基于人物类型数据集训练的虚拟人视频生成预训练模型。
29
+ 1. 支持图像到视频、文本到图像到视频、视频到视频的生成。
30
+ 1. 兼容 `Stable Diffusio`n 文图生成生态系统,包括 `base_model`、`lora`、`controlnet` 等。
31
+ 1. 支持多参考图像技术,包括 `IPAdapter`、`ReferenceOnly`、`ReferenceNet`、`IPAdapterFaceID`。
32
+ 1. 我们后面也会推出训练代码。
33
+
34
+ # 重要更新
35
+ 1. `musev_referencenet_pose`: `unet`, `ip_adapter` 的模型名字指定错误,请使用 `musev_referencenet_pose`而不是`musev_referencenet`,请使用最新的main分支。
36
+
37
+ # 进展
38
+ - [2024年3月27日] 发布 `MuseV` 项目和训练好的模型 `musev`、`muse_referencenet`、`muse_referencenet_pose`。
39
+ - [03/30/2024] 在 huggingface space 上新增 [gui](https://huggingface.co/spaces/AnchorFake/MuseVDemo) 交互方式来生成视频.
40
+
41
+ ## 模型
42
+ ### 模型结构示意图
43
+ ![model_structure](./data/models/musev_structure.png)
44
+ ### 并行去噪算法示意图
45
+ ![parallel_denoise](./data//models/parallel_denoise.png)
46
+
47
+ ## 测试用例
48
+ 生成结果的所有帧直接由`MuseV`生成,没有时序超分辨、空间超分辨等任何后处理。
49
+ <!-- # TODO: // use youtu video link? -->
50
+ 以下所有测试用例都维护在 `configs/tasks/example.yaml`,可以直接运行复现。
51
+ **[project](https://tmelyralab.github.io/)** 有更多测试用例,包括一两分钟的长视频。
52
+
53
+ ### 输入文本、图像的视频生成
54
+ #### 人类
55
+ <table class="center">
56
+ <tr style="font-weight: bolder;text-align:center;">
57
+ <td width="50%">image</td>
58
+ <td width="45%">video </td>
59
+ <td width="5%">prompt</td>
60
+ </tr>
61
+
62
+ <tr>
63
+ <td>
64
+ <img src=./data/images/yongen.jpeg width="400">
65
+ </td>
66
+ <td >
67
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/732cf1fd-25e7-494e-b462-969c9425d277" width="100" controls preload></video>
68
+ </td>
69
+ <td>(masterpiece, best quality, highres:1),(1boy, solo:1),(eye blinks:1.8),(head wave:1.3)
70
+ </td>
71
+ </tr>
72
+
73
+ <tr>
74
+ <td>
75
+ <img src=./data/images/jinkesi2.jpeg width="400">
76
+ </td>
77
+ <td>
78
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/62b533d3-95f3-48db-889d-75dde1ad04b7" width="100" controls preload></video>
79
+ </td>
80
+ <td>
81
+ (masterpiece, best quality, highres:1),(1girl, solo:1),(beautiful face,
82
+ soft skin, costume:1),(eye blinks:{eye_blinks_factor}),(head wave:1.3)
83
+ </td>
84
+ </tr>
85
+
86
+ <tr>
87
+ <td>
88
+ <img src=./data/images/seaside4.jpeg width="400">
89
+ </td>
90
+ <td>
91
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/9b75a46c-f4e6-45ef-ad02-05729f091c8f" width="100" controls preload></video>
92
+ </td>
93
+ <td>
94
+ (masterpiece, best quality, highres:1), peaceful beautiful sea scene
95
+ </td>
96
+ </tr>
97
+ <tr>
98
+ <td>
99
+ <img src=./data/images/seaside_girl.jpeg width="400">
100
+ </td>
101
+ <td>
102
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/d0f3b401-09bf-4018-81c3-569ec24a4de9" width="100" controls preload></video>
103
+ </td>
104
+ <td>
105
+ (masterpiece, best quality, highres:1), peaceful beautiful sea scene
106
+ </td>
107
+ </tr>
108
+ <!-- guitar -->
109
+ <tr>
110
+ <td>
111
+ <img src=./data/images/boy_play_guitar.jpeg width="400">
112
+ </td>
113
+ <td>
114
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/61bf955e-7161-44c8-a498-8811c4f4eb4f" width="100" controls preload></video>
115
+ </td>
116
+ <td>
117
+ (masterpiece, best quality, highres:1), playing guitar
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td>
122
+ <img src=./data/images/girl_play_guitar2.jpeg width="400">
123
+ </td>
124
+ <td>
125
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/40982aa7-9f6a-4e44-8ef6-3f185d284e6a" width="100" controls preload></video>
126
+ </td>
127
+ <td>
128
+ (masterpiece, best quality, highres:1), playing guitar
129
+ </td>
130
+ </tr>
131
+ <tr>
132
+ <td>
133
+ <img src=./data/images/boy_play_guitar2.jpeg width="400">
134
+ </td>
135
+ <td>
136
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/69ea9d0c-5ed0-44b9-bca9-a4829c8d8b68" width="100" controls preload></video>
137
+ </td>
138
+ <td>
139
+ (masterpiece, best quality, highres:1), playing guitar
140
+ </td>
141
+ </tr>
142
+ <tr>
143
+ <td>
144
+ <img src=./data/images/girl_play_guitar4.jpeg width="400">
145
+ </td>
146
+ <td>
147
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/d242e8a4-08ab-474f-b4a8-b718780d2991" width="100" controls preload></video>
148
+ </td>
149
+ <td>
150
+ (masterpiece, best quality, highres:1), playing guitar
151
+ </td>
152
+ </tr>
153
+ <!-- famous people -->
154
+ <tr>
155
+ <td>
156
+ <img src=./data/images/dufu.jpeg width="400">
157
+ </td>
158
+ <td>
159
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/28294baa-b996-420f-b1fb-046542adf87d" width="100" controls preload></video>
160
+ </td>
161
+ <td>
162
+ (masterpiece, best quality, highres:1),(1man, solo:1),(eye blinks:1.8),(head wave:1.3),Chinese ink painting style
163
+ </td>
164
+ </tr>
165
+
166
+ <tr>
167
+ <td>
168
+ <img src=./data/images/Mona_Lisa.jpg width="400">
169
+ </td>
170
+ <td>
171
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/1ce11da6-14c6-4dcd-b7f9-7a5f060d71fb" width="100" controls preload></video>
172
+ </td>
173
+ <td>
174
+ (masterpiece, best quality, highres:1),(1girl, solo:1),(beautiful face,
175
+ soft skin, costume:1),(eye blinks:{eye_blinks_factor}),(head wave:1.3)
176
+ </td>
177
+ </tr>
178
+ <tr>
179
+ <td>
180
+ <img src=./data/images/Portrait-of-Dr.-Gachet.jpg width="400">
181
+ </td>
182
+ <td>
183
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/4072410a-ecea-4ee5-a9b4-735f9f462d51" width="100" controls preload></video>
184
+ </td>
185
+ <td>
186
+ (masterpiece, best quality, highres:1),(1man, solo:1),(eye blinks:1.8),(head wave:1.3)
187
+ </td>
188
+ </tr>
189
+ <tr>
190
+ <td>
191
+ <img src=./data/images/Self-Portrait-with-Cropped-Hair.jpg width="400">
192
+ </td>
193
+ <td>
194
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/5148beda-a1e1-44f0-ad84-2fb99ad73a11" width="100" controls preload></video>
195
+ </td>
196
+ <td>
197
+ (masterpiece, best quality, highres:1),(1man, solo:1),(eye blinks:1.8),(head wave:1.3), animate
198
+ </td>
199
+ </tr>
200
+ <tr>
201
+ <td>
202
+ <img src=./data/images/The-Laughing-Cavalier.jpg width="400">
203
+ </td>
204
+ <td>
205
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/df1c5943-15a3-41f5-afe7-e7497c81836d" width="100" controls preload></video>
206
+ </td>
207
+ <td>
208
+ (masterpiece, best quality, highres:1),(1girl, solo:1),(beautiful face,
209
+ soft skin, costume:1),(eye blinks:{eye_blinks_factor}),(head wave:1.3)
210
+ </td>
211
+ </tr>
212
+ </table >
213
+
214
+ #### 场景
215
+ <table class="center">
216
+ <tr style="font-weight: bolder;text-align:center;">
217
+ <td width="35%">image</td>
218
+ <td width="50%">video</td>
219
+ <td width="15%">prompt</td>
220
+ </tr>
221
+
222
+ <tr>
223
+ <td>
224
+ <img src=./data/images/waterfall4.jpeg width="400">
225
+ </td>
226
+ <td>
227
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/852daeb6-6b58-4931-81f9-0dddfa1b4ea5" width="100" controls preload></video>
228
+ </td>
229
+ <td>
230
+ (masterpiece, best quality, highres:1), peaceful beautiful waterfall, an
231
+ endless waterfall
232
+ </td>
233
+ </tr>
234
+
235
+ <tr>
236
+ <td>
237
+ <img src=./data/images/river.jpeg width="400">
238
+ </td>
239
+ <td>
240
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/d5cb2798-b5ce-497a-a058-ae63d664028e" width="100" controls preload></video>
241
+ </td>
242
+ <td>(masterpiece, best quality, highres:1), peaceful beautiful river
243
+ </td>
244
+ </tr>
245
+
246
+ <tr>
247
+ <td>
248
+ <img src=./data/images/seaside2.jpeg width="400">
249
+ </td>
250
+ <td>
251
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/4a4d527a-6203-411f-afe9-31c992d26816" width="100" controls preload></video>
252
+ </td>
253
+ <td>(masterpiece, best quality, highres:1), peaceful beautiful sea scene
254
+ </td>
255
+ </tr>
256
+ </table >
257
+
258
+ ### 输入视频条件的视频生成
259
+ 当前生成模式下,需要参考视频的首帧条件和参考图像的首帧条件对齐,不然会破坏首帧的信息,效果会更差。所以一般生成流程是
260
+ 1. 确定参考视频;
261
+ 2. 用参考视频的首帧走图生图、controlnet流程,可以使用`MJ`等各种平台;
262
+ 3. 拿2中的生成图、参考视频用MuseV生成视频;
263
+ 4.
264
+ **pose2video**
265
+
266
+ `duffy` 的测试用例中,视觉条件帧的姿势与���制视频的第一帧不对齐。需要`posealign` 将解决这个问题。
267
+
268
+ <table class="center">
269
+ <tr style="font-weight: bolder;text-align:center;">
270
+ <td width="25%">image</td>
271
+ <td width="65%">video</td>
272
+ <td width="10%">prompt</td>
273
+ </tr>
274
+ <tr>
275
+ <td>
276
+ <img src=./data/images/spark_girl.png width="200">
277
+ <img src=./data/images/cyber_girl.png width="200">
278
+ </td>
279
+ <td>
280
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/484cc69d-c316-4464-a55b-3df929780a8e" width="400" controls preload></video>
281
+ </td>
282
+ <td>
283
+ (masterpiece, best quality, highres:1) , a girl is dancing, animation
284
+ </td>
285
+ </tr>
286
+ <tr>
287
+ <td>
288
+ <img src=./data/images/duffy.png width="400">
289
+ </td>
290
+ <td>
291
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/c44682e6-aafc-4730-8fc1-72825c1bacf2" width="400" controls preload></video>
292
+ </td>
293
+ <td>
294
+ (masterpiece, best quality, highres:1), is dancing, animation
295
+ </td>
296
+ </tr>
297
+ </table >
298
+
299
+ ### MuseTalk
300
+
301
+ `talk`的角色`孙昕荧`著名的网络大V,可以在 [抖音](https://www.douyin.com/user/MS4wLjABAAAAWDThbMPN_6Xmm_JgXexbOii1K-httbu2APdG8DvDyM8) 关注。
302
+
303
+ <table class="center">
304
+ <tr style="font-weight: bolder;">
305
+ <td width="35%">name</td>
306
+ <td width="50%">video</td>
307
+ </tr>
308
+
309
+ <tr>
310
+ <td>
311
+ talk
312
+ </td>
313
+ <td>
314
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/951188d1-4731-4e7f-bf40-03cacba17f2f" width="100" controls preload></video>
315
+ </td>
316
+ </tr>
317
+ <tr>
318
+ <td>
319
+ talk
320
+ </td>
321
+ <td>
322
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/ba0396ab-8aba-4440-803c-18b078ae1dd9" width="100" controls preload></video>
323
+ </td>
324
+ </tr>
325
+ <tr>
326
+ <td>
327
+ sing
328
+ </td>
329
+ <td>
330
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/50b8ffab-9307-4836-99e5-947e6ce7d112" width="100" controls preload></video>
331
+ </td>
332
+ </tr>
333
+ </table >
334
+
335
+
336
+ # 待办事项:
337
+ - [ ] 技术报告(即将推出)。
338
+ - [ ] 训练代码。
339
+ - [ ] 扩散变换生成框架。
340
+ - [ ] `posealign` 模块。
341
+
342
+ # 快速入门
343
+ 准备 Python 环境并安装额外的包,如 `diffusers`、`controlnet_aux`、`mmcm`。
344
+
345
+ ## 准备环境
346
+ 建议您优先使用 `docker` 来准备 Python 环境。
347
+
348
+ ### 准备 Python 环境
349
+ **注意**:我们只测试了 Docker,使用 conda 或其他环境可能会遇到问题。我们将尽力解决。但依然请优先使用 `docker`。
350
+
351
+ #### 方法 1:使用 Docker
352
+ 1. 拉取 Docker 镜像
353
+ ```bash
354
+ docker pull anchorxia/musev:latest
355
+ ```
356
+ 2. 运行 Docker 容器
357
+ ```bash
358
+ docker run --gpus all -it --entrypoint /bin/bash anchorxia/musev:latest
359
+ ```
360
+ docker启动后默认的 conda 环境是 `musev`。
361
+
362
+ #### 方法 2:使用 conda
363
+ 从 environment.yaml 创建 conda 环境
364
+ ```
365
+ conda env create --name musev --file ./environment.yml
366
+ ```
367
+ #### 方法 3:使用 pip requirements
368
+ ```
369
+ pip install -r requirements.txt
370
+ ```
371
+ #### 准备 [openmmlab](https://openmmlab.com/) 包
372
+ 如果不使用 Docker方式,还需要额外安装 mmlab 包。
373
+ ```bash
374
+ pip install --no-cache-dir -U openmim
375
+ mim install mmengine
376
+ mim install "mmcv>=2.0.1"
377
+ mim install "mmdet>=3.1.0"
378
+ mim install "mmpose>=1.1.0"
379
+ ```
380
+
381
+ ### 准备我们开发的包
382
+ #### 下载
383
+ ```bash
384
+ git clone --recursive https://github.com/TMElyralab/MuseV.git
385
+ ```
386
+ #### 准备 PYTHONPATH
387
+ ```bash
388
+ current_dir=$(pwd)
389
+ export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV
390
+ export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV/MMCM
391
+ export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV/diffusers/src
392
+ export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV/controlnet_aux/src
393
+ cd MuseV
394
+ ```
395
+
396
+ 1. `MMCM`:多媒体、跨模态处理包。
397
+ 1. `diffusers`:基于 [diffusers](https://github.com/huggingface/diffusers) 修改的 diffusers 包。
398
+ 1. `controlnet_aux`:基于 [controlnet_aux](https://github.com/TMElyralab/controlnet_aux) 修改的包。
399
+
400
+
401
+ ## 下载模型
402
+ ```bash
403
+ git clone https://huggingface.co/TMElyralab/MuseV ./checkpoints
404
+ ```
405
+ - `motion`:多个版本的视频生成模型。使用小数据集 `ucf101` 和小 `webvid` 数据子集进行训练,约 60K 个视频文本对。GPU 内存消耗测试在 `resolution` $=512*512,`time_size=12`。
406
+ - `musev/unet`:这个版本 仅训练 `unet` 运动模块。推断 `GPU 内存消耗` $\approx 8G$。
407
+ - `musev_referencenet`:这个版本训练 `unet` 运动模块、`referencenet`、`IPAdapter`。推断 `GPU 内存消耗` $\approx 12G$。
408
+ - `unet`:`motion` 模块,具有 `Attention` 层中的 `to_k`、`to_v`,参考 `IPAdapter`。
409
+ - `referencenet`:类似于 `AnimateAnyone`。
410
+ - `ip_adapter_image_proj.bin`:图像特征变换层,参考 `IPAdapter`。
411
+ - `musev_referencenet_pose`:这个版本基于 `musev_referencenet`,固定 `referencenet` 和 `controlnet_pose`,训练 `unet motion` 和 `IPAdapter`。推断 `GPU 内存消耗` $\approx 12G$。
412
+ - `t2i/sd1.5`:text2image 模型,在训练运动模块时参数被冻结。
413
+ - majicmixRealv6Fp16:示例,可以替换为其他 t2i 基础。从 [majicmixRealv6Fp16](https://civitai.com/models/43331/majicmix-realistic) 下载。
414
+ - `IP-Adapter/models`:从 [IPAdapter](https://huggingface.co/h94/IP-Adapter/tree/main) 下载。
415
+ - `image_encoder`:视觉特征抽取模型。
416
+ - `ip-adapter_sd15.bin`:原始 IPAdapter 模型预训练权重。
417
+ - `ip-adapter-faceid_sd15.bin`:原始 IPAdapter 模型预训练权重。
418
+
419
+ ## 推理
420
+
421
+ ### 准备模型路径
422
+ 当使用示例推断命令运行示例任务时,可以跳过此步骤。
423
+ 该模块主要是在配置文件中设置模型路径和缩写,以在推断脚本中使用简单缩写而不是完整路径。
424
+ - T2I SD:参考 `musev/configs/model/T2I_all_model.py`
425
+ - 运动 Unet:参考 `musev/configs/model/motion_model.py`
426
+ - 任务:参考 `musev/configs/tasks/example.yaml`
427
+
428
+ ### musev_referencenet
429
+ #### 输入文本、图像的视频生成
430
+ ```bash
431
+ python scripts/inference/text2video.py --sd_model_name majicmixRealv6Fp16 --unet_model_name musev_referencenet --referencenet_model_name musev_referencenet --ip_adapter_model_name musev_referencenet -test_data_path ./configs/tasks/example.yaml --output_dir ./output --n_batch 1 --target_datas yongen --vision_clip_extractor_class_name ImageClipVisionFeatureExtractor --vision_clip_model_path ./checkpoints/IP-Adapter/models/image_encoder --time_size 12 --fps 12
432
+ ```
433
+ **通用参数**:
434
+ - `test_data_path`:测试用例 任务路径
435
+ - `target_datas`:如果 `test_data_path` 中的 `name` 在 `target_datas` 中,则只运行这些子任务。`sep` 是 `,`;
436
+ - `sd_model_cfg_path`:T2I sd 模型路径,模型配置路径或模型路径。
437
+ - `sd_model_name`:sd 模型名称,用于在 `sd_model_cfg_path` 中选择完整模型路径。使用 `,` 分隔的多个模型名称,或 `all`。
438
+ - `unet_model_cfg_path`:运动 unet 模型配置路径或模型路径。
439
+ - `unet_model_name`:unet 模型名称,用于获取 `unet_model_cfg_path` 中的模型路径,并在 `musev/models/unet_loader.py` 中初始化 unet 类实例。使用 `,` 分隔的多个模型名称,或 `all`。如果 `unet_model_cfg_path` 是模型路径,则 `unet_name` 必须在 `musev/models/unet_loader.py` 中支持。
440
+ - `time_size`:扩散模型每次生成一个片段,这里是一个片段的帧数。默认为 `12`。
441
+ - `n_batch`:首尾相连方式生成总片段数,$total\_frames=n\_batch * time\_size + n\_viscond$,默认为 `1`。
442
+ - `context_frames`: 并行去噪子窗口一次生成的帧数。如果 `time_size` > `context_frame`,则会启动并行去噪逻辑, `time_size` 窗口会分成多个子窗口进行并行去噪。默认为 `12`。
443
+
444
+ 生成长视频,有两种方法,可以共同使用:
445
+ 1. `视觉条件并行去噪`:设置 `n_batch=1`,`time_size` = 想要的所有帧。
446
+ 2. `传统的首尾相连方式`:设置 `time_size` = `context_frames` = 一次片段的帧数 (`12`),`context_overlap` = 0。会首尾相连方式生成`n_batch`片段数,首尾相连存在误差累计,当`n_batch`越大,最后的结果越差。
447
+
448
+
449
+ **模型参数**:
450
+ 支持 `referencenet`、`IPAdapter`、`IPAdapterFaceID`、`Facein`。
451
+ - `referencenet_model_name`:`referencenet` 模型名称。
452
+ - `ImageClipVisionFeatureExtractor`:`ImageEmbExtractor` 名称,在 `IPAdapter` 中提取视觉特征。
453
+ - `vision_clip_model_path`:`ImageClipVisionFeatureExtractor` 模型路径。
454
+ - `ip_adapter_model_name`:来自 `IPAdapter` 的,它是 `ImagePromptEmbProj`,与 `ImageEmbExtractor` 一起使用。
455
+ - `ip_adapter_face_model_name`:`IPAdapterFaceID`,来自 `IPAdapter`,应该设置 `face_image_path`。
456
+
457
+ **一些影响运动范围和生成结果的参数**:
458
+ - `video_guidance_scale`:类似于 text2image,控制 cond 和 uncond 之间的影响,影响较大,默认为 `3.5`。
459
+ - `guidance_scale`:在第一帧图像中 cond 和 uncond 之间的参数比例,,影响不大,默认为 `3.5`。
460
+ - `use_condition_image`:是否使用给定的第一帧进行视频生成。
461
+ - `redraw_condition_image`:是否重新绘制给定的第一帧图像。
462
+ - `video_negative_prompt`:配置文件中全 `negative_prompt` 的缩写。默认为 `V2`。
463
+
464
+
465
+ #### 输入视频的视频生成
466
+ ```bash
467
+ python scripts/inference/video2video.py --sd_model_name majicmixRealv6Fp16 --unet_model_name musev_referencenet --referencenet_model_name musev_referencenet --ip_adapter_model_name musev_referencenet -test_data_path ./configs/tasks/example.yaml --vision_clip_extractor_class_name ImageClipVisionFeatureExtractor --vision_clip_model_path ./checkpoints/IP-Adapter/models/image_encoder --output_dir ./output --n_batch 1 --controlnet_name dwpose_body_hand --which2video "video_middle" --target_datas dance1 --fps 12 --time_size 12
468
+ ```
469
+ **一些重要参数**
470
+
471
+ 大多数参数与 `musev_text2video` 相同。`video2video` 的特殊参数有:
472
+ 1. 需要在 `test_data` 中设置 `video_path`��现在支持 `rgb video` 和 `controlnet_middle_video`。
473
+ - `which2video`: 参与引导视频视频的参考视频部分。 如果是 `video_middle`,则只使用类似`pose`、`depth`的 `video_middle`,如果是 `video`, 视频本身会参与视频噪声初始化。等价于`img2imge`。
474
+ - `controlnet_name`:是否使用 `controlnet condition`,例如 `dwpose,depth`, pose的话 优先建议使用`dwpose_body_hand`。
475
+ - `video_is_middle`:`video_path` 是 `rgb video` 还是 `controlnet_middle_video`。可以为 `test_data_path` 中的每个 `test_data` 设置。
476
+ - `video_has_condition`:condtion_images 是否与 video_path 的第一帧对齐。如果不是,则首先生成 `condition_images`,然后与拼接对齐。设置在 `test_data` 中。
477
+
478
+ 所有 `controlnet_names` 维护在 [mmcm](https://github.com/TMElyralab/MMCM/blob/main/mmcm/vision/feature_extractor/controlnet.py#L513)
479
+ ```python
480
+ ['pose', 'pose_body', 'pose_hand', 'pose_face', 'pose_hand_body', 'pose_hand_face', 'dwpose', 'dwpose_face', 'dwpose_hand', 'dwpose_body', 'dwpose_body_hand', 'canny', 'tile', 'hed', 'hed_scribble', 'depth', 'pidi', 'normal_bae', 'lineart', 'lineart_anime', 'zoe', 'sam', 'mobile_sam', 'leres', 'content', 'face_detector']
481
+ ```
482
+
483
+ ### musev_referencenet_pose
484
+ 仅用于 `pose2video`
485
+ 基于 `musev_referencenet` 训练,固定 `referencenet`、`pose-controlnet` 和 `T2I`,训练 `motion` 模块和 `IPAdapter`。
486
+ ```bash
487
+ python scripts/inference/video2video.py --sd_model_name majicmixRealv6Fp16 --unet_model_name musev_referencenet_pose --referencenet_model_name musev_referencenet --ip_adapter_model_name musev_referencenet_pose -test_data_path ./configs/tasks/example.yaml --vision_clip_extractor_class_name ImageClipVisionFeatureExtractor --vision_clip_model_path ./checkpoints/IP-Adapter/models/image_encoder --output_dir ./output --n_batch 1 --controlnet_name dwpose_body_hand --which2video "video_middle" --target_datas dance1 --fps 12 --time_size 12
488
+ ```
489
+
490
+ ### musev
491
+ 仅有动作模块,没有 referencenet,需要更少的 GPU 内存。
492
+ #### 文本到视频
493
+ ```bash
494
+ python scripts/inference/text2video.py --sd_model_name majicmixRealv6Fp16 --unet_model_name musev -test_data_path ./configs/tasks/example.yaml --output_dir ./output --n_batch 1 --target_datas yongen --time_size 12 --fps 12
495
+ ```
496
+ #### 视频到视频
497
+ ```bash
498
+ python scripts/inference/video2video.py --sd_model_name majicmixRealv6Fp16 --unet_model_name musev -test_data_path ./configs/tasks/example.yaml --output_dir ./output --n_batch 1 --controlnet_name dwpose_body_hand --which2video "video_middle" --target_datas dance1 --fps 12 --time_size 12
499
+ ```
500
+
501
+ ### Gradio 演示
502
+ MuseV 提供 gradio 脚本,可在本地机器上生成 GUI,方便生成视频。
503
+
504
+ ```bash
505
+ cd scripts/gradio
506
+ python app.py
507
+ ```
508
+
509
+ # 致谢
510
+ 1. MuseV 开发过程中参考学习了很多开源工作 [TuneAVideo](https://github.com/showlab/Tune-A-Video)、[diffusers](https://github.com/huggingface/diffusers)、[Moore-AnimateAnyone](https://github.com/MooreThreads/Moore-AnimateAnyone/tree/master/src/pipelines)、[animatediff](https://github.com/guoyww/AnimateDiff)、[IP-Adapter](https://github.com/tencent-ailab/IP-Adapter)、[AnimateAnyone](https://arxiv.org/abs/2311.17117)、[VideoFusion](https://arxiv.org/abs/2303.08320) 和 [insightface](https://github.com/deepinsight/insightface)。
511
+ 2. MuseV 基于 `ucf101` 和 `webvid` 数据集构建。
512
+
513
+ 感谢开源社区的贡献!
514
+
515
+ # 限制
516
+
517
+ `MuseV` 仍然存在很多待优化项,包括:
518
+
519
+ 1. 缺乏泛化能力。对视觉条件帧敏感,有些视觉条件图像表现良好,有些表现不佳。有些预训练的 t2i 模型表现良好,有些表现不佳。
520
+ 1. 有限的视频生成类型和有限的动作范围,部分原因是训练数据类型有限。发布的 `MuseV` 已经在大约 6 万对分辨率为 `512*320` 的人类文本视频对上进行了训练。`MuseV` 在较低分辨率下具有更大的动作范围,但视频质量较低。`MuseV` 在高分辨率下画质很好、但动作范围较小。在更大、更高分辨率、更高质量的文本视频数据集上进行训练可能会使 `MuseV` 更好。
521
+ 1. 因为使用 `webvid` 训练会有水印问题。使用没有水印的、更干净的数据集可能会解决这个问题。
522
+ 1. 有限类型的长视频生成。视觉条件并行去噪可以解决视频生成的累积误差,但当前的方法只适用于相对固定的摄像机场景。
523
+ 1. referencenet 和 IP-Adapter 训练不足,因为时间有限和资源有限。
524
+ 1. 代码结构不够完善。`MuseV` 支持丰富而动态的功能,但代码复杂且未经过重构。熟悉需要时间。
525
+
526
+
527
+ <!-- # Contribution 暂时不需要组织开源共建 -->
528
+ # 引用
529
+ ```bib
530
+ @article{musev,
531
+ title={MuseV: 基于视觉条件的并行去噪的无限长度和高保真虚拟人视频生成},
532
+ author={Xia, Zhiqiang and Chen, Zhaokang and Wu, Bin and Li, Chao and Hung, Kwok-Wai and Zhan, Chao and He, Yingjie and Zhou, Wenjiang},
533
+ journal={arxiv},
534
+ year={2024}
535
+ }
536
+ ```
537
+ # 免责声明/许可
538
+ 1. `代码`:`MuseV` 的代码采用 `MIT` 许可证发布,学术用途和商业用途都可以。
539
+ 1. `模型`:训练好的模型仅供非商业研究目的使用。
540
+ 1. `其他开源模型`:使用的其他开源模型必须遵守他们的许可证,如 `insightface`、`IP-Adapter`、`ft-mse-vae` 等。
541
+ 1. 测试数据收集自互联网,仅供非商业研究目的使用。
542
+ 1. `AIGC`:本项目旨在积极影响基于人工智能的视频生成领域。用户被授予使用此工具创建视频的自由,但他们应该遵守当地法律,并负责任地使用。开发人员不对用户可能的不当使用承担任何责任。
MuseV/README.md ADDED
@@ -0,0 +1,545 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MuseV [English](README.md) [中文](README-zh.md)
2
+
3
+ <font size=5>MuseV: Infinite-length and High Fidelity Virtual Human Video Generation with Visual Conditioned Parallel Denoising
4
+ </br>
5
+ Zhiqiang Xia <sup>\*</sup>,
6
+ Zhaokang Chen<sup>\*</sup>,
7
+ Bin Wu<sup>†</sup>,
8
+ Chao Li,
9
+ Kwok-Wai Hung,
10
+ Chao Zhan,
11
+ Yingjie He,
12
+ Wenjiang Zhou
13
+ (<sup>*</sup>co-first author, <sup>†</sup>Corresponding Author, benbinwu@tencent.com)
14
+ </font>
15
+
16
+ **[github](https://github.com/TMElyralab/MuseV)** **[huggingface](https://huggingface.co/TMElyralab/MuseV)** **[HuggingfaceSpace](https://huggingface.co/spaces/AnchorFake/MuseVDemo)** **[project](https://tmelyralab.github.io/)** **Technical report (comming soon)**
17
+
18
+
19
+ We have setup **the world simulator vision since March 2023, believing diffusion models can simulate the world**. `MuseV` was a milestone achieved around **July 2023**. Amazed by the progress of Sora, we decided to opensource `MuseV`, hopefully it will benefit the community. Next we will move on to the promising diffusion+transformer scheme.
20
+
21
+
22
+ Update: We have released <a href="https://github.com/TMElyralab/MuseTalk" style="font-size:24px; color:red;">MuseTalk</a>, a real-time high quality lip sync model, which can be applied with MuseV as a complete virtual human generation solution.
23
+
24
+ # Overview
25
+ `MuseV` is a diffusion-based virtual human video generation framework, which
26
+ 1. supports **infinite length** generation using a novel **Visual Conditioned Parallel Denoising scheme**.
27
+ 2. checkpoint available for virtual human video generation trained on human dataset.
28
+ 3. supports Image2Video, Text2Image2Video, Video2Video.
29
+ 4. compatible with the **Stable Diffusion ecosystem**, including `base_model`, `lora`, `controlnet`, etc.
30
+ 5. supports multi reference image technology, including `IPAdapter`, `ReferenceOnly`, `ReferenceNet`, `IPAdapterFaceID`.
31
+ 6. training codes (comming very soon).
32
+
33
+ # Important bug fixes
34
+ 1. `musev_referencenet_pose`: model_name of `unet`, `ip_adapter` of Command is not correct, please use `musev_referencenet_pose` instead of `musev_referencenet`.
35
+
36
+ # News
37
+ - [03/27/2024] release `MuseV` project and trained model `musev`, `muse_referencenet`.
38
+ - [03/30/2024] add huggingface space gradio to generate video in gui
39
+
40
+ ## Model
41
+ ### Overview of model structure
42
+ ![model_structure](./data/models/musev_structure.png)
43
+ ### Parallel denoising
44
+ ![parallel_denoise](./data//models/parallel_denoise.png)
45
+
46
+ ## Cases
47
+ All frames were generated directly from text2video model, without any post process.
48
+ <!-- # TODO: // use youtu video link? -->
49
+ Examples bellow can be accessed at `configs/tasks/example.yaml`
50
+ MoreCase is in **[project](https://tmelyralab.github.io/)**
51
+
52
+ ### Text/Image2Video
53
+
54
+ #### Human
55
+
56
+ <table class="center">
57
+ <tr style="font-weight: bolder;text-align:center;">
58
+ <td width="50%">image</td>
59
+ <td width="45%">video </td>
60
+ <td width="5%">prompt</td>
61
+ </tr>
62
+
63
+ <tr>
64
+ <td>
65
+ <img src=./data/images/yongen.jpeg width="400">
66
+ </td>
67
+ <td >
68
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/732cf1fd-25e7-494e-b462-969c9425d277" width="100" controls preload></video>
69
+ </td>
70
+ <td>(masterpiece, best quality, highres:1),(1boy, solo:1),(eye blinks:1.8),(head wave:1.3)
71
+ </td>
72
+ </tr>
73
+
74
+ <tr>
75
+ <td>
76
+ <img src=./data/images/jinkesi2.jpeg width="400">
77
+ </td>
78
+ <td>
79
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/62b533d3-95f3-48db-889d-75dde1ad04b7" width="100" controls preload></video>
80
+ </td>
81
+ <td>
82
+ (masterpiece, best quality, highres:1),(1girl, solo:1),(beautiful face,
83
+ soft skin, costume:1),(eye blinks:{eye_blinks_factor}),(head wave:1.3)
84
+ </td>
85
+ </tr>
86
+
87
+ <tr>
88
+ <td>
89
+ <img src=./data/images/seaside4.jpeg width="400">
90
+ </td>
91
+ <td>
92
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/9b75a46c-f4e6-45ef-ad02-05729f091c8f" width="100" controls preload></video>
93
+ </td>
94
+ <td>
95
+ (masterpiece, best quality, highres:1), peaceful beautiful sea scene
96
+ </td>
97
+ </tr>
98
+ <tr>
99
+ <td>
100
+ <img src=./data/images/seaside_girl.jpeg width="400">
101
+ </td>
102
+ <td>
103
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/d0f3b401-09bf-4018-81c3-569ec24a4de9" width="100" controls preload></video>
104
+ </td>
105
+ <td>
106
+ (masterpiece, best quality, highres:1), peaceful beautiful sea scene
107
+ </td>
108
+ </tr>
109
+ <!-- guitar -->
110
+ <tr>
111
+ <td>
112
+ <img src=./data/images/boy_play_guitar.jpeg width="400">
113
+ </td>
114
+ <td>
115
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/61bf955e-7161-44c8-a498-8811c4f4eb4f" width="100" controls preload></video>
116
+ </td>
117
+ <td>
118
+ (masterpiece, best quality, highres:1), playing guitar
119
+ </td>
120
+ </tr>
121
+ <tr>
122
+ <td>
123
+ <img src=./data/images/girl_play_guitar2.jpeg width="400">
124
+ </td>
125
+ <td>
126
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/40982aa7-9f6a-4e44-8ef6-3f185d284e6a" width="100" controls preload></video>
127
+ </td>
128
+ <td>
129
+ (masterpiece, best quality, highres:1), playing guitar
130
+ </td>
131
+ </tr>
132
+ <tr>
133
+ <td>
134
+ <img src=./data/images/boy_play_guitar2.jpeg width="400">
135
+ </td>
136
+ <td>
137
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/69ea9d0c-5ed0-44b9-bca9-a4829c8d8b68" width="100" controls preload></video>
138
+ </td>
139
+ <td>
140
+ (masterpiece, best quality, highres:1), playing guitar
141
+ </td>
142
+ </tr>
143
+ <tr>
144
+ <td>
145
+ <img src=./data/images/girl_play_guitar4.jpeg width="400">
146
+ </td>
147
+ <td>
148
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/d242e8a4-08ab-474f-b4a8-b718780d2991" width="100" controls preload></video>
149
+ </td>
150
+ <td>
151
+ (masterpiece, best quality, highres:1), playing guitar
152
+ </td>
153
+ </tr>
154
+ <!-- famous people -->
155
+ <tr>
156
+ <td>
157
+ <img src=./data/images/dufu.jpeg width="400">
158
+ </td>
159
+ <td>
160
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/28294baa-b996-420f-b1fb-046542adf87d" width="100" controls preload></video>
161
+ </td>
162
+ <td>
163
+ (masterpiece, best quality, highres:1),(1man, solo:1),(eye blinks:1.8),(head wave:1.3),Chinese ink painting style
164
+ </td>
165
+ </tr>
166
+
167
+ <tr>
168
+ <td>
169
+ <img src=./data/images/Mona_Lisa.jpg width="400">
170
+ </td>
171
+ <td>
172
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/1ce11da6-14c6-4dcd-b7f9-7a5f060d71fb" width="100" controls preload></video>
173
+ </td>
174
+ <td>
175
+ (masterpiece, best quality, highres:1),(1girl, solo:1),(beautiful face,
176
+ soft skin, costume:1),(eye blinks:{eye_blinks_factor}),(head wave:1.3)
177
+ </td>
178
+ </tr>
179
+ <tr>
180
+ <td>
181
+ <img src=./data/images/Portrait-of-Dr.-Gachet.jpg width="400">
182
+ </td>
183
+ <td>
184
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/4072410a-ecea-4ee5-a9b4-735f9f462d51" width="100" controls preload></video>
185
+ </td>
186
+ <td>
187
+ (masterpiece, best quality, highres:1),(1man, solo:1),(eye blinks:1.8),(head wave:1.3)
188
+ </td>
189
+ </tr>
190
+ <tr>
191
+ <td>
192
+ <img src=./data/images/Self-Portrait-with-Cropped-Hair.jpg width="400">
193
+ </td>
194
+ <td>
195
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/5148beda-a1e1-44f0-ad84-2fb99ad73a11" width="100" controls preload></video>
196
+ </td>
197
+ <td>
198
+ (masterpiece, best quality, highres:1),(1man, solo:1),(eye blinks:1.8),(head wave:1.3), animate
199
+ </td>
200
+ </tr>
201
+ <tr>
202
+ <td>
203
+ <img src=./data/images/The-Laughing-Cavalier.jpg width="400">
204
+ </td>
205
+ <td>
206
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/df1c5943-15a3-41f5-afe7-e7497c81836d" width="100" controls preload></video>
207
+ </td>
208
+ <td>
209
+ (masterpiece, best quality, highres:1),(1girl, solo:1),(beautiful face,
210
+ soft skin, costume:1),(eye blinks:{eye_blinks_factor}),(head wave:1.3)
211
+ </td>
212
+ </tr>
213
+ </table >
214
+
215
+ #### Scene
216
+
217
+ <table class="center">
218
+ <tr style="font-weight: bolder;text-align:center;">
219
+ <td width="35%">image</td>
220
+ <td width="50%">video</td>
221
+ <td width="15%">prompt</td>
222
+ </tr>
223
+
224
+ <tr>
225
+ <td>
226
+ <img src=./data/images/waterfall4.jpeg width="400">
227
+ </td>
228
+ <td>
229
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/852daeb6-6b58-4931-81f9-0dddfa1b4ea5" width="100" controls preload></video>
230
+ </td>
231
+ <td>
232
+ (masterpiece, best quality, highres:1), peaceful beautiful waterfall, an
233
+ endless waterfall
234
+ </td>
235
+ </tr>
236
+
237
+ <tr>
238
+ <td>
239
+ <img src=./data/images/river.jpeg width="400">
240
+ </td>
241
+ <td>
242
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/d5cb2798-b5ce-497a-a058-ae63d664028e" width="100" controls preload></video>
243
+ </td>
244
+ <td>(masterpiece, best quality, highres:1), peaceful beautiful river
245
+ </td>
246
+ </tr>
247
+
248
+ <tr>
249
+ <td>
250
+ <img src=./data/images/seaside2.jpeg width="400">
251
+ </td>
252
+ <td>
253
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/4a4d527a-6203-411f-afe9-31c992d26816" width="100" controls preload></video>
254
+ </td>
255
+ <td>(masterpiece, best quality, highres:1), peaceful beautiful sea scene
256
+ </td>
257
+ </tr>
258
+ </table >
259
+
260
+ ### VideoMiddle2Video
261
+
262
+ **pose2video**
263
+ In `duffy` mode, pose of the vision condition frame is not aligned with the first frame of control video. `posealign` will solve the problem.
264
+
265
+ <table class="center">
266
+ <tr style="font-weight: bolder;text-align:center;">
267
+ <td width="25%">image</td>
268
+ <td width="65%">video</td>
269
+ <td width="10%">prompt</td>
270
+ </tr>
271
+ <tr>
272
+ <td>
273
+ <img src=./data/images/spark_girl.png width="200">
274
+ <img src=./data/images/cyber_girl.png width="200">
275
+ </td>
276
+ <td>
277
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/484cc69d-c316-4464-a55b-3df929780a8e" width="400" controls preload></video>
278
+ </td>
279
+ <td>
280
+ (masterpiece, best quality, highres:1) , a girl is dancing, animation
281
+ </td>
282
+ </tr>
283
+ <tr>
284
+ <td>
285
+ <img src=./data/images/duffy.png width="400">
286
+ </td>
287
+ <td>
288
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/c44682e6-aafc-4730-8fc1-72825c1bacf2" width="400" controls preload></video>
289
+ </td>
290
+ <td>
291
+ (masterpiece, best quality, highres:1), is dancing, animation
292
+ </td>
293
+ </tr>
294
+ </table >
295
+
296
+ ### MuseTalk
297
+ The character of talk, `Sun Xinying` is a supermodel KOL. You can follow her on [douyin](https://www.douyin.com/user/MS4wLjABAAAAWDThbMPN_6Xmm_JgXexbOii1K-httbu2APdG8DvDyM8).
298
+
299
+ <table class="center">
300
+ <tr style="font-weight: bolder;">
301
+ <td width="35%">name</td>
302
+ <td width="50%">video</td>
303
+ </tr>
304
+
305
+ <tr>
306
+ <td>
307
+ talk
308
+ </td>
309
+ <td>
310
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/951188d1-4731-4e7f-bf40-03cacba17f2f" width="100" controls preload></video>
311
+ </td>
312
+ </tr>
313
+ <tr>
314
+ <td>
315
+ talk
316
+ </td>
317
+ <td>
318
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/ba0396ab-8aba-4440-803c-18b078ae1dd9" width="100" controls preload></video>
319
+ </td>
320
+ </tr>
321
+ <tr>
322
+ <td>
323
+ sing
324
+ </td>
325
+ <td>
326
+ <video src="https://github.com/TMElyralab/MuseV/assets/163980830/50b8ffab-9307-4836-99e5-947e6ce7d112" width="100" controls preload></video>
327
+ </td>
328
+ </tr>
329
+ </table >
330
+
331
+
332
+ # TODO:
333
+ - [ ] technical report (comming soon).
334
+ - [ ] training codes.
335
+ - [ ] release pretrained unet model, which is trained with controlnet、referencenet、IPAdapter, which is better on pose2video.
336
+ - [ ] support diffusion transformer generation framework.
337
+ - [ ] release `posealign` module
338
+
339
+ # Quickstart
340
+ Prepare python environment and install extra package like `diffusers`, `controlnet_aux`, `mmcm`.
341
+
342
+
343
+ ## Prepare environment
344
+ You are recommended to use `docker` primarily to prepare python environment.
345
+ ### prepare python env
346
+ **Attention**: we only test with docker, there are maybe trouble with conda, or requirement. We will try to fix it. Use `docker` Please.
347
+
348
+ #### Method 1: docker
349
+ 1. pull docker image
350
+ ```bash
351
+ docker pull anchorxia/musev:latest
352
+ ```
353
+ 2. run docker
354
+ ```bash
355
+ docker run --gpus all -it --entrypoint /bin/bash anchorxia/musev:latest
356
+ ```
357
+ The default conda env is `musev`.
358
+
359
+ #### Method 2: conda
360
+ create conda environment from environment.yaml
361
+ ```
362
+ conda env create --name musev --file ./environment.yml
363
+ ```
364
+ #### Method 3: pip requirements
365
+ ```
366
+ pip install -r requirements.txt
367
+ ```
368
+ #### Prepare mmlab package
369
+ if not use docker, should install mmlab package additionally.
370
+ ```bash
371
+ pip install --no-cache-dir -U openmim
372
+ mim install mmengine
373
+ mim install "mmcv>=2.0.1"
374
+ mim install "mmdet>=3.1.0"
375
+ mim install "mmpose>=1.1.0"
376
+ ```
377
+
378
+ ### Prepare custom package / modified package
379
+ #### clone
380
+ ```bash
381
+ git clone --recursive https://github.com/TMElyralab/MuseV.git
382
+ ```
383
+ #### prepare PYTHONPATH
384
+ ```bash
385
+ current_dir=$(pwd)
386
+ export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV
387
+ export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV/MMCM
388
+ export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV/diffusers/src
389
+ export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV/controlnet_aux/src
390
+ cd MuseV
391
+ ```
392
+
393
+ 1. `MMCM`: multi media, cross modal process package。
394
+ 1. `diffusers`: modified diffusers package based on [diffusers](https://github.com/huggingface/diffusers)
395
+ 1. `controlnet_aux`: modified based on [controlnet_aux](https://github.com/TMElyralab/controlnet_aux)
396
+
397
+
398
+ ## Download models
399
+ ```bash
400
+ git clone https://huggingface.co/TMElyralab/MuseV ./checkpoints
401
+ ```
402
+ - `motion`: text2video model, trained on tiny `ucf101` and tiny `webvid` dataset, approximately 60K videos text pairs. GPU memory consumption testing on `resolution`$=512*512$, `time_size=12`.
403
+ - `musev/unet`: only has and train `unet` motion module. `GPU memory consumption` $\approx 8G$.
404
+ - `musev_referencenet`: train `unet` module, `referencenet`, `IPAdapter`. `GPU memory consumption` $\approx 12G$.
405
+ - `unet`: `motion` module, which has `to_k`, `to_v` in `Attention` layer refer to `IPAdapter`
406
+ - `referencenet`: similar to `AnimateAnyone`
407
+ - `ip_adapter_image_proj.bin`: images clip emb project layer, refer to `IPAdapter`
408
+ - `musev_referencenet_pose`: based on `musev_referencenet`, fix `referencenet`and `controlnet_pose`, train `unet motion` and `IPAdapter`. `GPU memory consumption` $\approx 12G$
409
+ - `t2i/sd1.5`: text2image model, parameter are frozen when training motion module. Different `t2i` base_model has a significant impact.
410
+ - `majicmixRealv6Fp16`: example, could be replaced with other t2i base. download from [majicmixRealv6Fp16](https://civitai.com/models/43331?modelVersionId=94640)
411
+ - `fantasticmix_v10`: example, could be replaced with other t2i base. download from [fantasticmix_v10](https://civitai.com/models/22402?modelVersionId=26744)
412
+ - `IP-Adapter/models`: download from [IPAdapter](https://huggingface.co/h94/IP-Adapter/tree/main)
413
+ - `image_encoder`: vision clip model.
414
+ - `ip-adapter_sd15.bin`: original IPAdapter model checkpoint.
415
+ - `ip-adapter-faceid_sd15.bin`: original IPAdapter model checkpoint.
416
+
417
+ ## Inference
418
+
419
+ ### Prepare model_path
420
+ Skip this step when run example task with example inference command.
421
+ Set model path and abbreviation in config, to use abbreviation in inference script.
422
+ - T2I SD:ref to `musev/configs/model/T2I_all_model.py`
423
+ - Motion Unet: refer to `musev/configs/model/motion_model.py`
424
+ - Task: refer to `musev/configs/tasks/example.yaml`
425
+
426
+ ### musev_referencenet
427
+ #### text2video
428
+ ```bash
429
+ python scripts/inference/text2video.py --sd_model_name majicmixRealv6Fp16 --unet_model_name musev_referencenet --referencenet_model_name musev_referencenet --ip_adapter_model_name musev_referencenet -test_data_path ./configs/tasks/example.yaml --output_dir ./output --n_batch 1 --target_datas yongen --vision_clip_extractor_class_name ImageClipVisionFeatureExtractor --vision_clip_model_path ./checkpoints/IP-Adapter/models/image_encoder --time_size 12 --fps 12
430
+ ```
431
+ **common parameters**:
432
+ - `test_data_path`: task_path in yaml extention
433
+ - `target_datas`: sep is `,`, sample subtasks if `name` in `test_data_path` is in `target_datas`.
434
+ - `sd_model_cfg_path`: T2I sd models path, model config path or model path.
435
+ - `sd_model_name`: sd model name, which use to choose full model path in sd_model_cfg_path. multi model names with sep =`,`, or `all`
436
+ - `unet_model_cfg_path`: motion unet model config path or model path。
437
+ - `unet_model_name`: unet model name, use to get model path in `unet_model_cfg_path`, and init unet class instance in `musev/models/unet_loader.py`. multi model names with sep=`,`, or `all`. If `unet_model_cfg_path` is model path, `unet_name` must be supported in `musev/models/unet_loader.py`
438
+ - `time_size`: num_frames per diffusion denoise generation。default=`12`.
439
+ - `n_batch`: generation numbers of shot, $total\_frames=n\_batch * time\_size + n\_viscond$, default=`1`。
440
+ - `context_frames`: context_frames num. If `time_size` > `context_frame`,`time_size` window is split into many sub-windows for parallel denoising"。 default=`12`。
441
+
442
+ To generate long videos, there two ways:
443
+ 1. `visual conditioned parallel denoise`: set `n_batch=1`, `time_size` = all frames you want.
444
+ 1. `traditional end-to-end`: set `time_size` = `context_frames` = frames of a shot (`12`), `context_overlap` = 0;
445
+
446
+
447
+ **model parameters**:
448
+ supports `referencenet`, `IPAdapter`, `IPAdapterFaceID`, `Facein`.
449
+ - referencenet_model_name: `referencenet` model name.
450
+ - ImageClipVisionFeatureExtractor: `ImageEmbExtractor` name, extractor vision clip emb used in `IPAdapter`.
451
+ - vision_clip_model_path: `ImageClipVisionFeatureExtractor` model path.
452
+ - ip_adapter_model_name: from `IPAdapter`, it's `ImagePromptEmbProj`, used with `ImageEmbExtractor`。
453
+ - ip_adapter_face_model_name: `IPAdapterFaceID`, from `IPAdapter` to keep faceid,should set `face_image_path`。
454
+
455
+ **Some parameters that affect the motion range and generation results**:
456
+ - `video_guidance_scale`: Similar to text2image, control influence between cond and uncond,default=`3.5`
457
+ - `guidance_scale`: The parameter ratio in the first frame image between cond and uncond, default=`3.5`
458
+ - `use_condition_image`: Whether to use the given first frame for video generation.
459
+ - `redraw_condition_image`: Whether to redraw the given first frame image.
460
+ - `video_negative_prompt`: Abbreviation of full `negative_prompt` in config path. default=`V2`.
461
+
462
+
463
+ #### video2video
464
+ `t2i` base_model has a significant impact. In this case, `fantasticmix_v10` performs better than `majicmixRealv6Fp16`.
465
+ ```bash
466
+ python scripts/inference/video2video.py --sd_model_name fantasticmix_v10 --unet_model_name musev_referencenet --referencenet_model_name musev_referencenet --ip_adapter_model_name musev_referencenet -test_data_path ./configs/tasks/example.yaml --vision_clip_extractor_class_name ImageClipVisionFeatureExtractor --vision_clip_model_path ./checkpoints/IP-Adapter/models/image_encoder --output_dir ./output --n_batch 1 --controlnet_name dwpose_body_hand --which2video "video_middle" --target_datas dance1 --fps 12 --time_size 12
467
+ ```
468
+ **import parameters**
469
+
470
+ Most of the parameters are same as `musev_text2video`. Special parameters of `video2video` are:
471
+ 1. need to set `video_path` in `test_data`. Now supports `rgb video` and `controlnet_middle_video`。
472
+ - `which2video`: whether `rgb` video influences initial noise, more strongly than controlnet condition. If `True`, then redraw video.
473
+ - `controlnet_name`:whether to use `controlnet condition`, such as `dwpose,depth`.
474
+ - `video_is_middle`: `video_path` is `rgb video` or `controlnet_middle_video`. Can be set for every `test_data` in test_data_path.
475
+ - `video_has_condition`: whether condtion_images is aligned with the first frame of video_path. If Not, firstly generate `condition_images` and then align with concatation. set in `test_data`。
476
+
477
+ all controlnet_names refer to [mmcm](https://github.com/TMElyralab/MMCM/blob/main/mmcm/vision/feature_extractor/controlnet.py#L513)
478
+ ```python
479
+ ['pose', 'pose_body', 'pose_hand', 'pose_face', 'pose_hand_body', 'pose_hand_face', 'dwpose', 'dwpose_face', 'dwpose_hand', 'dwpose_body', 'dwpose_body_hand', 'canny', 'tile', 'hed', 'hed_scribble', 'depth', 'pidi', 'normal_bae', 'lineart', 'lineart_anime', 'zoe', 'sam', 'mobile_sam', 'leres', 'content', 'face_detector']
480
+ ```
481
+
482
+ ### musev_referencenet_pose
483
+ Only used for `pose2video`
484
+ train based on `musev_referencenet`, fix `referencenet`, `pose-controlnet`, and `T2I`, train `motion` module and `IPAdapter`.
485
+
486
+ `t2i` base_model has a significant impact. In this case, `fantasticmix_v10` performs better than `majicmixRealv6Fp16`.
487
+
488
+ ```bash
489
+ python scripts/inference/video2video.py --sd_model_name fantasticmix_v10 --unet_model_name musev_referencenet_pose --referencenet_model_name musev_referencenet --ip_adapter_model_name musev_referencenet_pose -test_data_path ./configs/tasks/example.yaml --vision_clip_extractor_class_name ImageClipVisionFeatureExtractor --vision_clip_model_path ./checkpoints/IP-Adapter/models/image_encoder --output_dir ./output --n_batch 1 --controlnet_name dwpose_body_hand --which2video "video_middle" --target_datas dance1 --fps 12 --time_size 12
490
+ ```
491
+
492
+ ### musev
493
+ Only has motion module, no referencenet, requiring less gpu memory.
494
+ #### text2video
495
+ ```bash
496
+ python scripts/inference/text2video.py --sd_model_name majicmixRealv6Fp16 --unet_model_name musev -test_data_path ./configs/tasks/example.yaml --output_dir ./output --n_batch 1 --target_datas yongen --time_size 12 --fps 12
497
+ ```
498
+ #### video2video
499
+ ```bash
500
+ python scripts/inference/video2video.py --sd_model_name fantasticmix_v10 --unet_model_name musev -test_data_path ./configs/tasks/example.yaml --output_dir ./output --n_batch 1 --controlnet_name dwpose_body_hand --which2video "video_middle" --target_datas dance1 --fps 12 --time_size 12
501
+ ```
502
+
503
+ ### Gradio demo
504
+ MuseV provides gradio script to generate a GUI in a local machine to generate video conveniently.
505
+
506
+ ```bash
507
+ cd scripts/gradio
508
+ python app.py
509
+ ```
510
+
511
+
512
+ # Acknowledgements
513
+
514
+ 1. MuseV has referred much to [TuneAVideo](https://github.com/showlab/Tune-A-Video), [diffusers](https://github.com/huggingface/diffusers), [Moore-AnimateAnyone](https://github.com/MooreThreads/Moore-AnimateAnyone/tree/master/src/pipelines), [animatediff](https://github.com/guoyww/AnimateDiff), [IP-Adapter](https://github.com/tencent-ailab/IP-Adapter), [AnimateAnyone](https://arxiv.org/abs/2311.17117), [VideoFusion](https://arxiv.org/abs/2303.08320), [insightface](https://github.com/deepinsight/insightface).
515
+ 2. MuseV has been built on `ucf101` and `webvid` datasets.
516
+
517
+ Thanks for open-sourcing!
518
+
519
+ # Limitation
520
+ There are still many limitations, including
521
+
522
+ 1. Lack of generalization ability. Some visual condition image perform well, some perform bad. Some t2i pretraied model perform well, some perform bad.
523
+ 1. Limited types of video generation and limited motion range, partly because of limited types of training data. The released `MuseV` has been trained on approximately 60K human text-video pairs with resolution `512*320`. `MuseV` has greater motion range while lower video quality at lower resolution. `MuseV` tends to generate less motion range with high video quality. Trained on larger, higher resolution, higher quality text-video dataset may make `MuseV` better.
524
+ 1. Watermarks may appear because of `webvid`. A cleaner dataset withour watermarks may solve this issue.
525
+ 1. Limited types of long video generation. Visual Conditioned Parallel Denoise can solve accumulated error of video generation, but the current method is only suitable for relatively fixed camera scenes.
526
+ 1. Undertrained referencenet and IP-Adapter, beacause of limited time and limited resources.
527
+ 1. Understructured code. `MuseV` supports rich and dynamic features, but with complex and unrefacted codes. It takes time to familiarize.
528
+
529
+
530
+ <!-- # Contribution 暂时不需要组织开源共建 -->
531
+ # Citation
532
+ ```bib
533
+ @article{musev,
534
+ title={MuseV: Infinite-length and High Fidelity Virtual Human Video Generation with Visual Conditioned Parallel Denoising},
535
+ author={Xia, Zhiqiang and Chen, Zhaokang and Wu, Bin and Li, Chao and Hung, Kwok-Wai and Zhan, Chao and He, Yingjie and Zhou, Wenjiang},
536
+ journal={arxiv},
537
+ year={2024}
538
+ }
539
+ ```
540
+ # Disclaimer/License
541
+ 1. `code`: The code of MuseV is released under the MIT License. There is no limitation for both academic and commercial usage.
542
+ 1. `model`: The trained model are available for non-commercial research purposes only.
543
+ 1. `other opensource model`: Other open-source models used must comply with their license, such as `insightface`, `IP-Adapter`, `ft-mse-vae`, etc.
544
+ 1. The testdata are collected from internet, which are available for non-commercial research purposes only.
545
+ 1. `AIGC`: This project strives to impact the domain of AI-driven video generation positively. Users are granted the freedom to create videos using this tool, but they are expected to comply with local laws and utilize it responsibly. The developers do not assume any responsibility for potential misuse by users.
MuseV/configs/model/T2I_all_model.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+
4
+ T2IDir = os.path.join(
5
+ os.path.dirname(os.path.abspath(__file__)), "../../checkpoints", "t2i"
6
+ )
7
+
8
+ MODEL_CFG = {
9
+ "majicmixRealv6Fp16": {
10
+ "sd": os.path.join(T2IDir, "sd1.5/majicmixRealv6Fp16"),
11
+ },
12
+ "fantasticmix_v10": {
13
+ "sd": os.path.join(T2IDir, "sd1.5/fantasticmix_v10"),
14
+ },
15
+ }
MuseV/configs/model/ip_adapter.py ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ IPAdapterModelDir = os.path.join(
4
+ os.path.dirname(os.path.abspath(__file__)), "../../checkpoints", "IP-Adapter"
5
+ )
6
+
7
+
8
+ MotionDir = os.path.join(
9
+ os.path.dirname(os.path.abspath(__file__)), "../../checkpoints", "motion"
10
+ )
11
+
12
+
13
+ MODEL_CFG = {
14
+ "IPAdapter": {
15
+ "ip_image_encoder": os.path.join(IPAdapterModelDir, "models/image_encoder"),
16
+ "ip_ckpt": os.path.join(IPAdapterModelDir, "ip-adapter_sd15.bin"),
17
+ "ip_scale": 1.0,
18
+ "clip_extra_context_tokens": 4,
19
+ "clip_embeddings_dim": 1024,
20
+ "desp": "",
21
+ },
22
+ "IPAdapterPlus": {
23
+ "ip_image_encoder": os.path.join(IPAdapterModelDir, "image_encoder"),
24
+ "ip_ckpt": os.path.join(IPAdapterModelDir, "ip-adapter-plus_sd15.bin"),
25
+ "ip_scale": 1.0,
26
+ "clip_extra_context_tokens": 16,
27
+ "clip_embeddings_dim": 1024,
28
+ "desp": "",
29
+ },
30
+ "IPAdapterPlus-face": {
31
+ "ip_image_encoder": os.path.join(IPAdapterModelDir, "image_encoder"),
32
+ "ip_ckpt": os.path.join(IPAdapterModelDir, "ip-adapter-plus-face_sd15.bin"),
33
+ "ip_scale": 1.0,
34
+ "clip_extra_context_tokens": 16,
35
+ "clip_embeddings_dim": 1024,
36
+ "desp": "",
37
+ },
38
+ "IPAdapterFaceID": {
39
+ "ip_image_encoder": os.path.join(IPAdapterModelDir, "image_encoder"),
40
+ "ip_ckpt": os.path.join(IPAdapterModelDir, "ip-adapter-faceid_sd15.bin"),
41
+ "ip_scale": 1.0,
42
+ "clip_extra_context_tokens": 4,
43
+ "clip_embeddings_dim": 512,
44
+ "desp": "",
45
+ },
46
+ "musev_referencenet": {
47
+ "ip_image_encoder": os.path.join(IPAdapterModelDir, "image_encoder"),
48
+ "ip_ckpt": os.path.join(
49
+ MotionDir, "musev_referencenet/ip_adapter_image_proj.bin"
50
+ ),
51
+ "ip_scale": 1.0,
52
+ "clip_extra_context_tokens": 4,
53
+ "clip_embeddings_dim": 1024,
54
+ "desp": "",
55
+ },
56
+ "musev_referencenet_pose": {
57
+ "ip_image_encoder": os.path.join(IPAdapterModelDir, "image_encoder"),
58
+ "ip_ckpt": os.path.join(
59
+ MotionDir, "musev_referencenet_pose/ip_adapter_image_proj.bin"
60
+ ),
61
+ "ip_scale": 1.0,
62
+ "clip_extra_context_tokens": 4,
63
+ "clip_embeddings_dim": 1024,
64
+ "desp": "",
65
+ },
66
+ }
MuseV/configs/model/lcm_model.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+
4
+ LCMDir = os.path.join(
5
+ os.path.dirname(os.path.abspath(__file__)), "../../checkpoints", "lcm"
6
+ )
7
+
8
+
9
+ MODEL_CFG = {
10
+ "lcm": {
11
+ os.path.join(LCMDir, "lcm-lora-sdv1-5/pytorch_lora_weights.safetensors"): {
12
+ "strength": 1.0,
13
+ "lora_block_weight": "ALL",
14
+ "strength_offset": 0,
15
+ },
16
+ },
17
+ }
MuseV/configs/model/motion_model.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+
4
+ MotionDIr = os.path.join(
5
+ os.path.dirname(os.path.abspath(__file__)), "../../checkpoints", "motion"
6
+ )
7
+
8
+
9
+ MODEL_CFG = {
10
+ "musev": {
11
+ "unet": os.path.join(MotionDIr, "musev"),
12
+ "desp": "only train unet motion module, fix t2i",
13
+ },
14
+ "musev_referencenet": {
15
+ "unet": os.path.join(MotionDIr, "musev_referencenet"),
16
+ "desp": "train referencenet, IPAdapter and unet motion module, fix t2i",
17
+ },
18
+ "musev_referencenet_pose": {
19
+ "unet": os.path.join(MotionDIr, "musev_referencenet_pose"),
20
+ "desp": "train unet motion module and IPAdapter, fix t2i and referencenet",
21
+ },
22
+ }
MuseV/configs/model/negative_prompt.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Negative_Prompt_CFG = {
2
+ "Empty": {
3
+ "base_model": "",
4
+ "prompt": "",
5
+ "refer": "",
6
+ },
7
+ "V1": {
8
+ "base_model": "",
9
+ "prompt": "nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, tail, watermarks",
10
+ "refer": "",
11
+ },
12
+ "V2": {
13
+ "base_model": "",
14
+ "prompt": "badhandv4, ng_deepnegative_v1_75t, (((multiple heads))), (((bad body))), (((two people))), ((extra arms)), ((deformed body)), (((sexy))), paintings,(((two heads))), ((big head)),sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans, (((nsfw))), nipples, extra fingers, (extra legs), (long neck), mutated hands, (fused fingers), (too many fingers)",
15
+ "refer": "Weiban",
16
+ },
17
+ "V3": {
18
+ "base_model": "",
19
+ "prompt": "badhandv4, ng_deepnegative_v1_75t, bad quality",
20
+ "refer": "",
21
+ },
22
+ "V4": {
23
+ "base_model": "",
24
+ "prompt": "badhandv4,ng_deepnegative_v1_75t,EasyNegativeV2,bad_prompt_version2-neg,bad quality",
25
+ "refer": "",
26
+ },
27
+ "V5": {
28
+ "base_model": "",
29
+ "prompt": "(((multiple heads))), (((bad body))), (((two people))), ((extra arms)), ((deformed body)), (((sexy))), paintings,(((two heads))), ((big head)),sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans, (((nsfw))), nipples, extra fingers, (extra legs), (long neck), mutated hands, (fused fingers), (too many fingers)",
30
+ "refer": "Weiban",
31
+ },
32
+ }
MuseV/configs/model/referencenet.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+
4
+ MotionDIr = os.path.join(
5
+ os.path.dirname(os.path.abspath(__file__)), "../../checkpoints", "motion"
6
+ )
7
+
8
+
9
+ MODEL_CFG = {
10
+ "musev_referencenet": {
11
+ "net": os.path.join(MotionDIr, "musev_referencenet"),
12
+ "desp": "",
13
+ },
14
+ }
MuseV/configs/tasks/example.yaml ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # - name: task_name
2
+ # condition_images: vision condition images path
3
+ # video_path: str, default null, used for video2video
4
+ # prompt: text to guide image generation
5
+ # ipadapter_image: image_path for IP-Apdater
6
+ # refer_image: image_path for referencenet, generally speaking, same as ipadapter_image
7
+ # height: int # The shorter the image size, the larger the motion amplitude, and the lower video quality.
8
+ # width: int # The longer the W&H, the smaller the motion amplitude, and the higher video quality.
9
+ # img_length_ratio: float, generation video size is (height, width) * img_length_ratio
10
+
11
+ # text/image2video
12
+ - condition_images: ./data/images/yongen.jpeg
13
+ eye_blinks_factor: 1.8
14
+ height: 1308
15
+ img_length_ratio: 0.957
16
+ ipadapter_image: ${.condition_images}
17
+ name: yongen
18
+ prompt: (masterpiece, best quality, highres:1),(1boy, solo:1),(eye blinks:1.8),(head wave:1.3)
19
+ refer_image: ${.condition_images}
20
+ video_path: null
21
+ width: 736
22
+ - condition_images: ./data/images/jinkesi2.jpeg
23
+ eye_blinks_factor: 1.8
24
+ height: 714
25
+ img_length_ratio: 1.25
26
+ ipadapter_image: ${.condition_images}
27
+ name: jinkesi2
28
+ prompt: (masterpiece, best quality, highres:1),(1girl, solo:1),(beautiful face,
29
+ soft skin, costume:1),(eye blinks:{eye_blinks_factor}),(head wave:1.3)
30
+ refer_image: ${.condition_images}
31
+ video_path: null
32
+ width: 563
33
+ - condition_images: ./data/images/seaside4.jpeg
34
+ eye_blinks_factor: 1.8
35
+ height: 317
36
+ img_length_ratio: 2.221
37
+ ipadapter_image: ${.condition_images}
38
+ name: seaside4
39
+ prompt: (masterpiece, best quality, highres:1), peaceful beautiful sea scene
40
+ refer_image: ${.condition_images}
41
+ video_path: null
42
+ width: 564
43
+ - condition_images: ./data/images/seaside_girl.jpeg
44
+ eye_blinks_factor: 1.8
45
+ height: 736
46
+ img_length_ratio: 0.957
47
+ ipadapter_image: ${.condition_images}
48
+ name: seaside_girl
49
+ prompt: (masterpiece, best quality, highres:1), peaceful beautiful sea scene
50
+ refer_image: ${.condition_images}
51
+ video_path: null
52
+ width: 736
53
+ - condition_images: ./data/images/boy_play_guitar.jpeg
54
+ eye_blinks_factor: 1.8
55
+ height: 846
56
+ img_length_ratio: 1.248
57
+ ipadapter_image: ${.condition_images}
58
+ name: boy_play_guitar
59
+ prompt: (masterpiece, best quality, highres:1), playing guitar
60
+ refer_image: ${.condition_images}
61
+ video_path: null
62
+ width: 564
63
+ - condition_images: ./data/images/girl_play_guitar2.jpeg
64
+ eye_blinks_factor: 1.8
65
+ height: 1002
66
+ img_length_ratio: 1.248
67
+ ipadapter_image: ${.condition_images}
68
+ name: girl_play_guitar2
69
+ prompt: (masterpiece, best quality, highres:1), playing guitar
70
+ refer_image: ${.condition_images}
71
+ video_path: null
72
+ width: 564
73
+ - condition_images: ./data/images/boy_play_guitar2.jpeg
74
+ eye_blinks_factor: 1.8
75
+ height: 630
76
+ img_length_ratio: 1.676
77
+ ipadapter_image: ${.condition_images}
78
+ name: boy_play_guitar2
79
+ prompt: (masterpiece, best quality, highres:1), playing guitar
80
+ refer_image: ${.condition_images}
81
+ video_path: null
82
+ width: 420
83
+ - condition_images: ./data/images/girl_play_guitar4.jpeg
84
+ eye_blinks_factor: 1.8
85
+ height: 846
86
+ img_length_ratio: 1.248
87
+ ipadapter_image: ${.condition_images}
88
+ name: girl_play_guitar4
89
+ prompt: (masterpiece, best quality, highres:1), playing guitar
90
+ refer_image: ${.condition_images}
91
+ video_path: null
92
+ width: 564
93
+ - condition_images: ./data/images/dufu.jpeg
94
+ eye_blinks_factor: 1.8
95
+ height: 500
96
+ img_length_ratio: 1.495
97
+ ipadapter_image: ${.condition_images}
98
+ name: dufu
99
+ prompt: (masterpiece, best quality, highres:1),(1man, solo:1),(eye blinks:1.8),(head wave:1.3),Chinese ink painting style
100
+ refer_image: ${.condition_images}
101
+ video_path: null
102
+ width: 471
103
+ - condition_images: ./data/images/Mona_Lisa..jpg
104
+ eye_blinks_factor: 1.8
105
+ height: 894
106
+ img_length_ratio: 1.173
107
+ ipadapter_image: ${.condition_images}
108
+ name: Mona_Lisa.
109
+ prompt: (masterpiece, best quality, highres:1),(1girl, solo:1),(beautiful face,
110
+ soft skin, costume:1),(eye blinks:{eye_blinks_factor}),(head wave:1.3)
111
+ refer_image: ${.condition_images}
112
+ video_path: null
113
+ width: 600
114
+ - condition_images: ./data/images/Portrait-of-Dr.-Gachet.jpg
115
+ eye_blinks_factor: 1.8
116
+ height: 985
117
+ img_length_ratio: 0.88
118
+ ipadapter_image: ${.condition_images}
119
+ name: Portrait-of-Dr.-Gachet
120
+ prompt: (masterpiece, best quality, highres:1),(1man, solo:1),(eye blinks:1.8),(head wave:1.3)
121
+ refer_image: ${.condition_images}
122
+ video_path: null
123
+ width: 800
124
+ - condition_images: ./data/images/Self-Portrait-with-Cropped-Hair.jpg
125
+ eye_blinks_factor: 1.8
126
+ height: 565
127
+ img_length_ratio: 1.246
128
+ ipadapter_image: ${.condition_images}
129
+ name: Self-Portrait-with-Cropped-Hair
130
+ prompt: (masterpiece, best quality, highres:1),(1boy, solo:1),(eye blinks:1.8),(head wave:1.3), animate
131
+ refer_image: ${.condition_images}
132
+ video_path: null
133
+ width: 848
134
+ - condition_images: ./data/images/The-Laughing-Cavalier.jpg
135
+ eye_blinks_factor: 1.8
136
+ height: 1462
137
+ img_length_ratio: 0.587
138
+ ipadapter_image: ${.condition_images}
139
+ name: The-Laughing-Cavalier
140
+ prompt: (masterpiece, best quality, highres:1),(1man, solo:1),(eye blinks:1.8),(head wave:1.3)
141
+ refer_image: ${.condition_images}
142
+ video_path: null
143
+ width: 1200
144
+
145
+ # scene
146
+ - condition_images: ./data/images/waterfall4.jpeg
147
+ eye_blinks_factor: 1.8
148
+ height: 846
149
+ img_length_ratio: 1.248
150
+ ipadapter_image: ${.condition_images}
151
+ name: waterfall4
152
+ prompt: (masterpiece, best quality, highres:1), peaceful beautiful waterfall, an
153
+ endless waterfall
154
+ refer_image: ${.condition_images}
155
+ video_path: null
156
+ width: 564
157
+ - condition_images: ./data/images/river.jpeg
158
+ eye_blinks_factor: 1.8
159
+ height: 736
160
+ img_length_ratio: 0.957
161
+ ipadapter_image: ${.condition_images}
162
+ name: river
163
+ prompt: (masterpiece, best quality, highres:1), peaceful beautiful river
164
+ refer_image: ${.condition_images}
165
+ video_path: null
166
+ width: 736
167
+ - condition_images: ./data/images/seaside2.jpeg
168
+ eye_blinks_factor: 1.8
169
+ height: 1313
170
+ img_length_ratio: 0.957
171
+ ipadapter_image: ${.condition_images}
172
+ name: seaside2
173
+ prompt: (masterpiece, best quality, highres:1), peaceful beautiful sea scene
174
+ refer_image: ${.condition_images}
175
+ video_path: null
176
+ width: 736
177
+
178
+ # video2video
179
+ - name: "dance1"
180
+ prompt: "(masterpiece, best quality, highres:1) , a girl is dancing, wearing a dress made of stars, animation"
181
+ video_path: ./data/source_video/video1_girl_poseseq.mp4
182
+ condition_images: ./data/images/spark_girl.png
183
+ refer_image: ${.condition_images}
184
+ ipadapter_image: ${.condition_images}
185
+ height: 960
186
+ width: 512
187
+ img_length_ratio: 1.0
188
+ video_is_middle: True # if true, means video_path is controlnet condition, not natural rgb video
189
+
190
+ - name: "dance2"
191
+ prompt: "(best quality), ((masterpiece)), (highres), illustration, original, extremely detailed wallpaper"
192
+ video_path: ./data/source_video/video1_girl_poseseq.mp4
193
+ condition_images: ./data/images/cyber_girl.png
194
+ refer_image: ${.condition_images}
195
+ ipadapter_image: ${.condition_images}
196
+ height: 960
197
+ width: 512
198
+ img_length_ratio: 1.0
199
+ video_is_middle: True # if true, means video_path is controlnet condition, not natural rgb video
200
+
201
+ - name: "duffy"
202
+ prompt: "(best quality), ((masterpiece)), (highres), illustration, original, extremely detailed wallpaper"
203
+ video_path: ./data/source_video/pose-for-Duffy-4.mp4
204
+ condition_images: ./data/images/duffy.png
205
+ refer_image: ${.condition_images}
206
+ ipadapter_image: ${.condition_images}
207
+ height: 1280
208
+ width: 704
209
+ img_length_ratio: 1.0
210
+ video_is_middle: True # if true, means video_path is controlnet condition, not natural rgb video
MuseV/data/demo/cyber_girl.png ADDED

Git LFS Details

  • SHA256: 08772cb7deb2df68fab03e5eac5d2e2e61bd5eea9e80ee09ccd968b6b54675ea
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB
MuseV/data/demo/video1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad8eb17005da389731d2a04d61a39166b753270a893e04ab3801b798fe04441d
3
+ size 5411952
MuseV/data/images/Mona_Lisa.jpg ADDED

Git LFS Details

  • SHA256: 13c962a2a71d9b5ccd16cc91b49aeb476bb3e2a544f8b866bf12ef66e4eec155
  • Pointer size: 131 Bytes
  • Size of remote file: 175 kB
MuseV/data/images/Portrait-of-Dr.-Gachet.jpg ADDED

Git LFS Details

  • SHA256: 4de2b5f4a44f3f5034a9d17a32c712bdcf99845578941f7a5e9b3a8d45305cd0
  • Pointer size: 131 Bytes
  • Size of remote file: 326 kB
MuseV/data/images/Self-Portrait-with-Cropped-Hair.jpg ADDED

Git LFS Details

  • SHA256: 2ab762811ce26b617311d46736298b5ab9e68328b4f45f44bf197aef39112f4f
  • Pointer size: 130 Bytes
  • Size of remote file: 68.5 kB
MuseV/data/images/The-Laughing-Cavalier.jpg ADDED

Git LFS Details

  • SHA256: c8d4027b09ac41f92f318ba2512b152edb927b182a056c0fb5296fa0cd165618
  • Pointer size: 131 Bytes
  • Size of remote file: 509 kB
MuseV/data/images/boy_play_guitar.jpeg ADDED

Git LFS Details

  • SHA256: 88b211a7cbba207986619a1183e90ea2fff96e312a9740e4f9e5f7bf122a3643
  • Pointer size: 130 Bytes
  • Size of remote file: 66.4 kB
MuseV/data/images/boy_play_guitar2.jpeg ADDED

Git LFS Details

  • SHA256: 9d7b7e61cf60264c655565b781b88eafd98890310f7a8cabdf6fa429bccbdc15
  • Pointer size: 130 Bytes
  • Size of remote file: 50.5 kB
MuseV/data/images/cyber_girl.png ADDED

Git LFS Details

  • SHA256: 08772cb7deb2df68fab03e5eac5d2e2e61bd5eea9e80ee09ccd968b6b54675ea
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB
MuseV/data/images/duffy.png ADDED

Git LFS Details

  • SHA256: 00bb532adf554131783c97cbdc6168c671cfeda0283e194f255032e44ef76553
  • Pointer size: 132 Bytes
  • Size of remote file: 2.04 MB
MuseV/data/images/dufu.jpeg ADDED

Git LFS Details

  • SHA256: cbfd3a1f1c60b2a4322e609eb7d1c3a57920dfc14860b60286ddc183bde8580f
  • Pointer size: 130 Bytes
  • Size of remote file: 22.1 kB
MuseV/data/images/girl_play_guitar2.jpeg ADDED

Git LFS Details

  • SHA256: 55f367a3a551e9f5b0f300de7afb5902e1552e4fa7c437b3aba5f572307315c5
  • Pointer size: 130 Bytes
  • Size of remote file: 81.5 kB
MuseV/data/images/girl_play_guitar4.jpeg ADDED

Git LFS Details

  • SHA256: e6bf189ed49b137c0b42e3fcc474b92d03db0569d35ebb38f506eeaef0cefbbc
  • Pointer size: 130 Bytes
  • Size of remote file: 60.4 kB
MuseV/data/images/jinkesi2.jpeg ADDED

Git LFS Details

  • SHA256: 25db153fb3fec4fe9824078d76695ab43c37af14335ec800874530967beb55d6
  • Pointer size: 130 Bytes
  • Size of remote file: 79 kB
MuseV/data/images/river.jpeg ADDED

Git LFS Details

  • SHA256: c4f2606a2941862a69e53f738dbe451e3b2bfcdff198ae0d09dd78325f032e50
  • Pointer size: 131 Bytes
  • Size of remote file: 110 kB
MuseV/data/images/seaside2.jpeg ADDED

Git LFS Details

  • SHA256: 9e723d0cc510241c9f10bbd71e1855566953fc2a45e451cce47363413cc86ad7
  • Pointer size: 131 Bytes
  • Size of remote file: 166 kB
MuseV/data/images/seaside4.jpeg ADDED

Git LFS Details

  • SHA256: 266ed2898f1058bc35af36b6c8c02bfbed40f9a3b2c240e941b70ac372c2e4de
  • Pointer size: 131 Bytes
  • Size of remote file: 155 kB
MuseV/data/images/seaside_girl.jpeg ADDED

Git LFS Details

  • SHA256: 7746a3ddca0aea6c12cb38b9e8937b00dc1468369ab397c5e916d6138730b21f
  • Pointer size: 130 Bytes
  • Size of remote file: 94.2 kB
MuseV/data/images/spark_girl.png ADDED

Git LFS Details

  • SHA256: fab96b5e53581f7e489b2bd5e80e43837c2e3af9a4f4d32bcf828dccace53b05
  • Pointer size: 131 Bytes
  • Size of remote file: 111 kB
MuseV/data/images/waterfall4.jpeg ADDED

Git LFS Details

  • SHA256: a399da1d50a9999abfc17ad6c10912499914d9d9ec522b774735a86f7cd231ff
  • Pointer size: 130 Bytes
  • Size of remote file: 94.5 kB
MuseV/data/images/yongen.jpeg ADDED

Git LFS Details

  • SHA256: 07bc9029f0da47bf108b16aa5c5bb7864f16f6b6872b25ce5c500c652d3a498b
  • Pointer size: 130 Bytes
  • Size of remote file: 95.7 kB
MuseV/data/models/musev_structure.png ADDED

Git LFS Details

  • SHA256: 67abd70bea566de6e8bf03f34d88c3f85d4174d0d58175995ab33009952724d5
  • Pointer size: 131 Bytes
  • Size of remote file: 131 kB
MuseV/data/models/parallel_denoise.png ADDED

Git LFS Details

  • SHA256: ef934cc815202941dba44ce92af31c0c57a7a39a7d9c10dbb7a37cdef7c26c5b
  • Pointer size: 130 Bytes
  • Size of remote file: 37.3 kB
MuseV/data/result_video/Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70511e47ce0b9a6a900d7fbc73fb0858093892d50e54b55fff01cf1a64761a76
3
+ size 22006433
MuseV/data/result_video/Portrait-of-Dr.-Gachet.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeefb3376d0673e73f089eb823940148e3bce7c6a0a4d70ff718214a182575fe
3
+ size 10461495
MuseV/data/result_video/Self-Portrait-with-Cropped-Hair.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e0815b390d0ea8c054d686bd8f853e35dfbc1d0e8b56d322f821157dd848e9d
3
+ size 7903114
MuseV/data/result_video/The-Laughing-Cavalier.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d33672c0568171515e023b0a8957f6f8156162f103a852a52683f50ebed013d
3
+ size 15858438
MuseV/data/result_video/boy_play_guitar.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7904b17270333b3c79a646f780e2a4ae9dee694666bfc2b5f2e3068cccdd2fd2
3
+ size 5287268
MuseV/data/result_video/boy_play_guitar2.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b20142a81dda07575033e03efa83ff3de68ca70e25012f94dc1e685f13a286bb
3
+ size 10422247
MuseV/data/result_video/dufu.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52cbdc476dfa1fd397c32322eae2a2d4ee49ed81c199c009f5b471e05bef9b57
3
+ size 6989110
MuseV/data/result_video/girl_play_guitar2.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8af8364bdd1dae773d141002dc2f8cd7984d601ba11c40a9c51c52b1c1df2098
3
+ size 12359908
MuseV/data/result_video/girl_play_guitar4.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25779e28678634af3e581b4c1d27600f135c4a47d8bbb9c4d33516e33d07ab10
3
+ size 12515713
MuseV/data/result_video/jinkesi2.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32df5fc00c1aafd3e632b63746710e062a762b1e60f4ed65c341a2c62b0a28ad
3
+ size 10238715
MuseV/data/result_video/river.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f858724157ba77866ea0d0f84360c39902ab7ae5550ff84039ef65461b483a87
3
+ size 8106770
MuseV/data/result_video/seaside2.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1315c3e56692d90b3dd1054571eee4836e0216ba62de7b88cf93315e57602144
3
+ size 22850669
MuseV/data/result_video/seaside4.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8355786c16e0599fd8d9ddde1af5a8ab22387681ba46d35389a6e1edb76584d
3
+ size 18601524
MuseV/data/result_video/seaside_girl.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f574477019a97675656a8f252af68d5b69a719e8535e5fdf9da40c7259e80ced
3
+ size 9171386
MuseV/data/result_video/waterfall4.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4328f4dcbc1cfec39e466cdc8f9364d126a852146d60c45be8e764cae40b3ae
3
+ size 16799648
MuseV/data/result_video/yongen.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04ffa16f7d5bd6be644f7146236825f4c3df30200d992912203fcb4b292d9341
3
+ size 15588944