Dalision commited on
Commit
6eb1cdb
·
verified ·
1 Parent(s): c601141

Add files using upload-large-folder tool

Browse files
oob_vae_16k_224410.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d44c16941636a2db588cd5f084db45d35e1d0a02872156a1f1e135e8dfe74974
3
+ size 657085747
synchformer_state_dict.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8aff082f2df5c3bc52759db0c865c7ee772ae6400b860d1b7e90413f2defb67c
3
+ size 950058171
vt2a-24-v55vt35-oa15-mq-td15/args.yaml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ accum_batches: 1
2
+ batch_size: 8
3
+ checkpoint_every: -1
4
+ ckpt_path: ''
5
+ config_file: defaults.ini
6
+ dataset_config: data/data_json/TA_VTA_0923_vt_0.55_vta_0.35_ta_0.1_ttaaug0.15_bgmq_td0.15.yaml
7
+ dataset_timing_config: ''
8
+ dataset_type: vt2a
9
+ gradient_clip_val: 0.0
10
+ logger: wandb
11
+ model_config: stable_audio_tools/configs/model_configs/txt2audio/stable_audio_ours_vt2a.json
12
+ name: VT2A
13
+ num_gpus: 8
14
+ num_nodes: 1
15
+ num_workers: 32
16
+ precision: 16-mixed
17
+ pretrained_ckpt_path: weights/omni2sound/vt2a-24-v55vt35-oa15-mq-td15/model.ckpt
18
+ pretransform_ckpt_path: weights/omni2sound/oob_vae_16k_224410.ckpt
19
+ project: null
20
+ recover: 'false'
21
+ remove_pretransform_weight_norm: ''
22
+ resume: 0
23
+ save_dir: exp/vt2a-24-v55vt35-oa15-mq-td15
24
+ save_top_k: 2
25
+ seed: 42
26
+ strategy: ''
27
+ val_dataset_config: ''
28
+ val_every: 10000
29
+ wandb_config: null
vt2a-24-v55vt35-oa15-mq-td15/checkpoints/model.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2ce98c8b5910882971c3da55d032adcfd45eb3a4ef42302d545b38e2135a04c
3
+ size 19340649714
vt2a-24-v55vt35-oa15-mq-td15/data_config.yaml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ta: data/mock_dataset/metas/t2a.jsonl
2
+ r_ta: 0.1 #vt_0.55_vta_0.35_ta_0.1
3
+ vta: data/mock_dataset/metas/vt2a.jsonl
4
+ r_vta: 0.3889 # 0.35
5
+ top_n_rate: 0.5 # 0.0 totally random, 1.0 pick the best
6
+ meta_dir: data/mock_dataset/meta_dir/t2a+vt2a+v2a
7
+ clip_fps: 8
8
+ sync_fps: 24
9
+ r_mixup_tta: 0.15
10
+ text_drop_rate: 0.15
11
+ text_drop_task_types: ["VTA","TA"]
12
+ bgm_quant: true
13
+
14
+ music_aug:
15
+ - data/mock_dataset/metas/music_aug.jsonl
16
+ - data/mock_dataset/meta_dir/music_aug
17
+ audio_aug:
18
+ - data/mock_dataset/metas/audio_aug.jsonl
19
+ - data/mock_dataset/meta_dir/audio_aug
vt2a-24-v55vt35-oa15-mq-td15/model_config.json ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "diffusion_cond",
3
+ "sample_size": 160000,
4
+ "sample_rate": 16000,
5
+ "audio_channels": 1,
6
+ "model": {
7
+ "pretransform": {
8
+ "type": "autoencoder",
9
+ "iterate_batch": true,
10
+ "config": {
11
+ "encoder": {
12
+ "type": "oobleck",
13
+ "config": {
14
+ "in_channels": 1,
15
+ "channels": 128,
16
+ "c_mults": [
17
+ 1,
18
+ 2,
19
+ 4,
20
+ 8,
21
+ 16
22
+ ],
23
+ "strides": [
24
+ 2,
25
+ 2,
26
+ 4,
27
+ 4,
28
+ 10
29
+ ],
30
+ "latent_dim": 128,
31
+ "use_snake": true
32
+ }
33
+ },
34
+ "decoder": {
35
+ "type": "oobleck",
36
+ "config": {
37
+ "out_channels": 1,
38
+ "channels": 128,
39
+ "c_mults": [
40
+ 1,
41
+ 2,
42
+ 4,
43
+ 8,
44
+ 16
45
+ ],
46
+ "strides": [
47
+ 2,
48
+ 2,
49
+ 4,
50
+ 4,
51
+ 10
52
+ ],
53
+ "latent_dim": 64,
54
+ "use_snake": true,
55
+ "final_tanh": false
56
+ }
57
+ },
58
+ "bottleneck": {
59
+ "type": "vae"
60
+ },
61
+ "latent_dim": 64,
62
+ "downsampling_ratio": 640,
63
+ "io_channels": 1
64
+ }
65
+ },
66
+ "conditioning": {
67
+ "configs": [
68
+ {
69
+ "id": "text_prompt",
70
+ "type": "t5",
71
+ "config": {
72
+ "t5_model_name": "flan-t5-base",
73
+ "max_length": 128,
74
+ "option": true
75
+ }
76
+ },
77
+ {
78
+ "id": "seconds_start",
79
+ "type": "number",
80
+ "config": {
81
+ "min_val": 0,
82
+ "max_val": 512
83
+ }
84
+ },
85
+ {
86
+ "id": "seconds_total",
87
+ "type": "number",
88
+ "config": {
89
+ "min_val": 0,
90
+ "max_val": 512
91
+ }
92
+ },
93
+ {
94
+ "id": "clip_feature",
95
+ "type": "post_process",
96
+ "config": {
97
+ "frame_per_second": 8,
98
+ "feature_dim": 1024,
99
+ "use_abs_pos_emb": true,
100
+ "max_duration": 10,
101
+ "option": true
102
+ }
103
+ },
104
+ {
105
+ "id": "sync_feature",
106
+ "type": "post_process",
107
+ "config": {
108
+ "frame_per_second": 24,
109
+ "target_per_second": 25,
110
+ "feature_dim": 768,
111
+ "max_duration": 10
112
+ }
113
+ }
114
+ ],
115
+ "cond_dim": 1024
116
+ },
117
+ "diffusion": {
118
+ "cross_attention_cond_ids": [
119
+ "clip_feature",
120
+ "text_prompt",
121
+ "seconds_start",
122
+ "seconds_total"
123
+ ],
124
+ "global_cond_ids": [
125
+ "seconds_start",
126
+ "seconds_total"
127
+ ],
128
+ "additional_cond_ids": [
129
+ "sync_feature"
130
+ ],
131
+ "type": "dit",
132
+ "config": {
133
+ "io_channels": 64,
134
+ "embed_dim": 1536,
135
+ "depth": 24,
136
+ "num_heads": 24,
137
+ "cond_token_dim": 1024,
138
+ "global_cond_dim": 2048,
139
+ "additional_cond_dim": 1024,
140
+ "project_cond_tokens": true,
141
+ "project_additional_tokens": true,
142
+ "transformer_type": "continuous_transformer"
143
+ }
144
+ },
145
+ "io_channels": 64
146
+ },
147
+ "training": {
148
+ "use_ema": true,
149
+ "log_loss_info": false,
150
+ "optimizer_configs": {
151
+ "diffusion": {
152
+ "optimizer": {
153
+ "type": "AdamW",
154
+ "config": {
155
+ "lr": 5e-05,
156
+ "betas": [
157
+ 0.9,
158
+ 0.999
159
+ ],
160
+ "weight_decay": 0.001
161
+ }
162
+ },
163
+ "scheduler": {
164
+ "type": "MultiStageInverseLR",
165
+ "config": {
166
+ "stage_configs": [
167
+ {
168
+ "steps": 540000,
169
+ "lr": 5e-05,
170
+ "inv_gamma": 1000000,
171
+ "power": 1.0,
172
+ "final_lr": 1e-05,
173
+ "linear_warmup_steps": 1000
174
+ },
175
+ {
176
+ "steps": 30000,
177
+ "lr": 1e-05,
178
+ "inv_gamma": 1000000,
179
+ "power": 1.5,
180
+ "final_lr": 1e-06
181
+ },
182
+ {
183
+ "steps": 30000,
184
+ "lr": 1e-06,
185
+ "inv_gamma": 1000000,
186
+ "power": 2.0,
187
+ "final_lr": 1e-07
188
+ }
189
+ ]
190
+ }
191
+ }
192
+ }
193
+ },
194
+ "checkpoint": {
195
+ "filename": "{step}",
196
+ "every_n_train_steps": 300000,
197
+ "save_top_k": 3,
198
+ "monitor": "step",
199
+ "mode": "max"
200
+ },
201
+ "demo": {
202
+ "demo_every": 10000,
203
+ "demo_steps": 100,
204
+ "num_demos": 16,
205
+ "demo_cond_from_batch": false,
206
+ "demo_cond": [
207
+ {
208
+ "path": "data/demos/0B7fwvTtvLM_000000.mp4",
209
+ "clip_feature": "data/demos/clip_feature/0B7fwvTtvLM_000000.mp4.npy",
210
+ "sync_feature": "data/demos/sync_feature/0B7fwvTtvLM_000000.mp4.npy",
211
+ "seconds_start": 0.0,
212
+ "seconds_total": 7.01,
213
+ "text_prompt": "A basketball is dribbled continuously, its sharp, rhythmic thuds echoing as it impacts a hard surface."
214
+ },
215
+ {
216
+ "path": "data/demos/0olhNr566Z0_000018.mp4",
217
+ "clip_feature": "data/demos/clip_feature/0olhNr566Z0_000018.mp4.npy",
218
+ "sync_feature": "data/demos/sync_feature/0olhNr566Z0_000018.mp4.npy",
219
+ "seconds_start": 0.0,
220
+ "seconds_total": 9.98,
221
+ "text_prompt": "A trumpet plays a soulful jazz melody, moving through a rapid series of notes before holding a sustained, high-pitched note with a powerful vibrato."
222
+ },
223
+ {
224
+ "path": "data/demos/00pATAvDGFc_000013.mp4",
225
+ "clip_feature": "data/demos/clip_feature/00pATAvDGFc_000013.mp4.npy",
226
+ "sync_feature": "data/demos/sync_feature/00pATAvDGFc_000013.mp4.npy",
227
+ "seconds_start": 0.0,
228
+ "seconds_total": 10.0,
229
+ "text_prompt": "The distinct, resonant sounds of tabla drums are played with rhythmic precision, creating a complex and engaging percussive melody."
230
+ },
231
+ {
232
+ "path": "data/demos/0CA5CPHRXDc_000000.mp4",
233
+ "clip_feature": "data/demos/clip_feature/0CA5CPHRXDc_000000.mp4.npy",
234
+ "sync_feature": "data/demos/sync_feature/0CA5CPHRXDc_000000.mp4.npy",
235
+ "seconds_start": 0.0,
236
+ "seconds_total": 7.0,
237
+ "text_prompt": "A mosquito buzzes over high-pitched, cartoonish gibberish. A sharp slap is heard, followed immediately by a loud, abrupt explosion."
238
+ }
239
+ ],
240
+ "demo_cfg_scales": [
241
+ 2.5,
242
+ 7
243
+ ]
244
+ }
245
+ }
246
+ }