SYH99999 commited on
Commit
6cd1113
·
verified ·
1 Parent(s): a699409

Create config.yaml

Browse files
Files changed (1) hide show
  1. config.yaml +69 -0
config.yaml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ audio:
2
+ chunk_size: 485100
3
+ dim_f: 1024
4
+ dim_t: 1101
5
+ hop_length: 882
6
+ n_fft: 2048
7
+ num_channels: 2
8
+ sample_rate: 44100
9
+ min_mean_abs: 0.000
10
+
11
+ model:
12
+ dim: 384
13
+ depth: 8
14
+ stereo: true
15
+ num_stems: 4
16
+ linear_transformer_depth: 0
17
+ time_transformer_depth: 1
18
+ freq_transformer_depth: 1
19
+ num_bands: 60
20
+ dim_head: 64
21
+ heads: 8
22
+ attn_dropout: 0.0
23
+ ff_dropout: 0.0
24
+ flash_attn: true
25
+ dim_freqs_in: 2049
26
+ sample_rate: 44100 # needed for mel filter bank from librosa
27
+ stft_n_fft: 4096
28
+ stft_hop_length: 882
29
+ stft_win_length: 4096
30
+ stft_normalized: False
31
+ mask_estimator_depth: 2
32
+ multi_stft_resolution_loss_weight: 1.0
33
+ multi_stft_resolutions_window_sizes: !!python/tuple
34
+ - 4096
35
+ - 2048
36
+ - 1024
37
+ - 512
38
+ - 256
39
+ multi_stft_hop_size: 147
40
+ multi_stft_normalized: False
41
+ mlp_expansion_factor: 4
42
+ use_torch_checkpoint: False # it allows to greatly reduce GPU memory consumption during training (not fully tested)
43
+ skip_connection: True # Enable skip connection between transformer blocks - can solve problem with gradients and probably faster training
44
+
45
+ training:
46
+ batch_size: 1
47
+ gradient_accumulation_steps: 1
48
+ grad_clip: 0
49
+ instruments: ['drums', 'bass', 'other', 'vocals']
50
+ lr: 1.0
51
+ patience: 3
52
+ reduce_factor: 0.95
53
+ target_instrument: null
54
+ num_epochs: 1000
55
+ num_steps: 1000
56
+ q: 0.95
57
+ coarse_loss_clip: false
58
+ ema_momentum: 0.999
59
+ optimizer: prodigy
60
+ read_metadata_procs: 8 # Number of processes to use during metadata reading for dataset. Can speed up metadata generation
61
+ normalize: false
62
+ other_fix: false # it's needed for checking on multisong dataset if other is actually instrumental
63
+ use_amp: true # enable or disable usage of mixed precision (float16) - usually it must be true
64
+
65
+ inference:
66
+ batch_size: 4
67
+ dim_t: 1101
68
+ num_overlap: 4
69
+ normalize: false