You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To train the classifier, make edit or make a copy of jobs/classifier-train-array.sbatch In there, you'll want to make the following changes:
Change the email to your email
Change the anaconda environment name
Change SRCDIR to whatever directory the l3embedding repository is in
Change FEATURES_DIR to the directory where the features are
Change OUTPUT_DIR to your general experiment output directory. A subdirectory called classifier will be created here for the classifier output.
Change MODEL_DIR to the type of model you want to train. This should remain mlp
Change FEATURE_MODE to the type of feature preprocessing you want to perform. Options are framewise or stats. This should remain framewise
Change GOOGLE_DEV_APP_NAME and GSHEET_ID if you want to sync the results with a Google Docs spreadsheet.
Add --non-overlap as an argument if you want to do a run with no overlapping frames.But this shouldn't be necessary for this set of experiments.
Add --parameter-search-no-valid-fold to use 4 folds for training, and then perform a 85-15 split to get a validation set. This is present in the template. This should remain set.
Add --parameter-search-valid-ratio <float> to change the validation ratio, when --parameter-search-no-valid-fold is used. This is present in the template. This should remain set
Add any additional command line arguments to the script call. Take a look at 06_train_classifier.py for the options.This will not be necessary for this set of experiments though. This is only mentioned for posterity.
For US8K/ESC50: Run sbatch --array=1-<NUM_FOLDS> classifier-train-array.sbatch
<NUM_FOLDS> is 10 for US8K, 5 for ESC-50.
For DCASE2013 run sbatch --array=2-2 classifier-train-array.sbatch.
Repeat 13. or 14. (depending on the dataset) 2 times for US8K, 5 times for ESC-50, and once for DCASE (though we should check for DCASE)
The text was updated successfully, but these errors were encountered:
US8K
ESC-50
DCASE 2013
Instructions
To train the classifier, make edit or make a copy of
jobs/classifier-train-array.sbatch
In there, you'll want to make the following changes:SRCDIR
to whatever directory thel3embedding
repository is inFEATURES_DIR
to the directory where the features areOUTPUT_DIR
to your general experiment output directory. A subdirectory calledclassifier
will be created here for the classifier output.ChangeThis should remainMODEL_DIR
to the type of model you want to train.mlp
ChangeThis should remainFEATURE_MODE
to the type of feature preprocessing you want to perform. Options areframewise
orstats
.framewise
GOOGLE_DEV_APP_NAME
andGSHEET_ID
if you want to sync the results with a Google Docs spreadsheet.AddBut this shouldn't be necessary for this set of experiments.--non-overlap
as an argument if you want to do a run with no overlapping frames.AddThis should remain set.--parameter-search-no-valid-fold
to use 4 folds for training, and then perform a 85-15 split to get a validation set. This is present in the template.AddThis should remain set--parameter-search-valid-ratio <float>
to change the validation ratio, when--parameter-search-no-valid-fold
is used. This is present in the template.Add any additional command line arguments to the script call. Take a look atThis will not be necessary for this set of experiments though. This is only mentioned for posterity.06_train_classifier.py
for the options.sbatch --array=1-<NUM_FOLDS> classifier-train-array.sbatch
sbatch --array=2-2 classifier-train-array.sbatch
.The text was updated successfully, but these errors were encountered: