-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
29 lines (21 loc) · 923 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Configuration file example
duration: 10 # in seconds
overlap: 0.2 # overlap of the chunks in %
desired_fs: 48000 # desired sampling rate
channel: 2 # number of channels
log: True # whether to log or not
color: 'blue' # color setting
lr: 1e-5
epochs: 10
wavs_folder: '/storage/CLAP_paper/data/data_per_station_6_paper-window-6_10seconds-efficient_CLEANED_colouring'
d_valid_path: "/srv/CLAP/2_1_Data/val.txt"
d_train_path: "/srv/CLAP/2_1_Data/train.txt"
d_test_path: "/srv/CLAP/2_1_Data/test.txt"
# Parameters for audio processing
nfft: 1024 # number of FFT points
win_len: 512 # window length
hop_ratio: 4 # hop ratio
normalization_style: 'mean_std' # normalization style
# Optional parameters
min_duration: 0 # minimum duration, if not provided, it will be calculated based on nfft and desired_fs
max_duration: 10 # maximum duration, if not provided, it will be set to half of the overall duration