Spaces:
Runtime error
Runtime error
waidhoferj
commited on
Commit
·
7f6eb84
1
Parent(s):
557fb53
update cloud run config
Browse files- models/config/train.yaml +42 -36
models/config/train.yaml
CHANGED
@@ -1,47 +1,53 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
- VWZ
|
20 |
-
- WCS
|
21 |
data_module:
|
22 |
-
song_data_path: ../datastores/dance-music/songs_cleaned.csv
|
23 |
-
song_audio_path: ../datastores/dance-music
|
24 |
batch_size: 64
|
25 |
-
num_workers:
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
trainer:
|
37 |
log_every_n_steps: 15
|
38 |
accelerator: gpu
|
39 |
max_epochs: 50
|
40 |
-
min_epochs:
|
41 |
fast_dev_run: False
|
42 |
# gradient_clip_val: 0.5
|
43 |
-
overfit_batches: 1
|
|
|
44 |
training_environment:
|
45 |
learning_rate: 0.00053
|
46 |
-
|
47 |
-
n_channels: 128
|
|
|
1 |
+
training_fn: audio_spectrogram_transformer.train_lightning_ast
|
2 |
+
device: cuda
|
3 |
+
seed: 42
|
4 |
+
dance_ids: &dance_ids
|
5 |
+
- BCH
|
6 |
+
- CHA
|
7 |
+
- JIV
|
8 |
+
- ECS
|
9 |
+
- QST
|
10 |
+
- RMB
|
11 |
+
- SFT
|
12 |
+
- SLS
|
13 |
+
- SMB
|
14 |
+
- SWZ
|
15 |
+
- TGO
|
16 |
+
- VWZ
|
17 |
+
- WCS
|
18 |
+
|
|
|
|
|
19 |
data_module:
|
|
|
|
|
20 |
batch_size: 64
|
21 |
+
num_workers: 10
|
22 |
+
test_proportion: 0.2
|
23 |
+
|
24 |
+
datasets:
|
25 |
+
preprocessing.dataset.Music4DanceDataset:
|
26 |
+
song_data_path: ../datastores/dance-music/songs_cleaned.csv
|
27 |
+
song_audio_path: ../datastores/dance-music
|
28 |
+
class_list: *dance_ids
|
29 |
+
multi_label: False
|
30 |
+
min_votes: 1
|
31 |
+
audio_window_jitter: 0.7
|
32 |
+
|
33 |
+
model:
|
34 |
+
n_channels: 128
|
35 |
+
|
36 |
+
feature_extractor:
|
37 |
+
mask_count: 0 # Don't mask the data
|
38 |
+
snr_mean: 15.0 # Pretty much eliminate the noise
|
39 |
+
freq_mask_size: 10
|
40 |
+
time_mask_size: 80
|
41 |
|
42 |
trainer:
|
43 |
log_every_n_steps: 15
|
44 |
accelerator: gpu
|
45 |
max_epochs: 50
|
46 |
+
min_epochs: 7
|
47 |
fast_dev_run: False
|
48 |
# gradient_clip_val: 0.5
|
49 |
+
# overfit_batches: 1
|
50 |
+
|
51 |
training_environment:
|
52 |
learning_rate: 0.00053
|
53 |
+
log_spectrograms: False
|
|