-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunme_personalized_analysis.sh
More file actions
29 lines (19 loc) · 1.29 KB
/
runme_personalized_analysis.sh
File metadata and controls
29 lines (19 loc) · 1.29 KB
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
28
29
#!/bin/bash
############# MAIN #####################################
#DATATYPE="mid-interaction_segments"
DATATYPE="whole_recording"
#DATATYPE="voice_interaction_masked"
FOLDER_PATH="../../data/$DATATYPE/"
## CNN Classifier
"""
To run LOPO + 1 session personalized analysis
"""
python3 main_personalized_LOPO+1.py train --window_size=1024 --hop_size=320 --mel_bins=64 --fmin=50 --fmax=11000 --model='FineTuneCNN14' --features='mfcc' --num_epochs=500 --batch_size=32 --learning_rate=1e-5 --cuda --folder_path=$FOLDER_PATH --trim=0 --data_type=$DATATYPE --nb_participants=14 --pad='wrap'
"""
To run LOSO personalized analysis
"""
python3 main_LOSO.py train --window_size=1024 --hop_size=320 --mel_bins=64 --fmin=50 --fmax=11000 --model='FineTuneCNN14' --features='mfcc' --num_epochs=500 --batch_size=32 --learning_rate=1e-5 --cuda --folder_path=$FOLDER_PATH --trim=0 --data_type=$DATATYPE --nb_participants=14 --pad='wrap' #--context_location='kitchen'
"""
To run LOSO with varying audio length
"""
#python3 main_LOSO_VaryingAudioLength.py train --window_size=1024 --hop_size=320 --mel_bins=64 --fmin=50 --fmax=11000 --model='FineTuneCNN14' --features='mfcc' --num_epochs=500 --batch_size=32 --learning_rate=1e-5 --cuda --folder_path=$FOLDER_PATH --trim=0 --data_type=$DATATYPE --nb_participants=14 --pad='wrap'