waidhoferj commited on
Commit
7f6eb84
·
1 Parent(s): 557fb53

update cloud run config

Browse files
Files changed (1) hide show
  1. models/config/train.yaml +42 -36
models/config/train.yaml CHANGED
@@ -1,47 +1,53 @@
1
- global:
2
- id: ast_ptl
3
- device: cuda
4
- seed: 42
5
- dance_ids:
6
- - ATN
7
- - BCH
8
- - CHA
9
- - ECS
10
- - HST
11
- - JIV
12
- - QST
13
- - RMB
14
- - SFT
15
- - SLS
16
- - SMB
17
- - SWZ
18
- - TGO
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: 4
26
- min_votes: 1
27
- dataset_kwargs:
28
- audio_window_duration: 6
29
- audio_window_jitter: 1.5
30
- # audio_pipeline_kwargs:
31
- # mask_count: 0 # Don't mask the data
32
- # snr_mean: 15.0 # Pretty much eliminate the noise
33
- # freq_mask_size: 10
34
- # time_mask_size: 80
 
 
 
 
 
 
 
 
 
 
35
 
36
  trainer:
37
  log_every_n_steps: 15
38
  accelerator: gpu
39
  max_epochs: 50
40
- min_epochs: 5
41
  fast_dev_run: False
42
  # gradient_clip_val: 0.5
43
- overfit_batches: 1
 
44
  training_environment:
45
  learning_rate: 0.00053
46
- model:
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