forked from jade0520/Feature_Extraction_OpenSmile
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
23 lines (20 loc) · 697 Bytes
/
run.sh
File metadata and controls
23 lines (20 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# wav to csv
python extract_wavs.py\
--csvs_dir "./test_space/csvs/"\
--IEMOCAP_dir "./IEMOCAP/IEMOCAP_full_release/"\
--OS_path "../opensmile/"\
--conf_names "spectrum/spectrogram" "mfcc/MFCC12_0_D_A"
# csv to pickle
## divide labels first
python csvs_to_N_fold_pickles_labels.py\
--IEMOCAP_dir "./IEMOCAP/IEMOCAP_full_release/"\
--pickle_dir "./test_space/jars/"\
--N_fold 10\
--speaker_dpendency #or --no_speaker_dpendency
## divide features based on label pickles
python csvs_to_N_fold_pickle.py \
--csvs_dir "./test_space/csvs/"\
--pickle_dir "./test_space/jars/"\
--label_name "10fold_D"\
--feat_list "spectrogram" "MFCC12_0_D_A"