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 generate samples (for L3 embedding models), make edit or make a copy of jobs/generate_embedding_samples_array_<dataset name>.sbatch In there, you'll want to make the following changes:
Make sure that the embedding model path follows the convention<output_dir>/embedding/<music or environmental>/<l3 model type string>/<timestamp>/model_best_valid_accuracy.h5. The code assumes this convention to be followed.
Change the email to your email
Change the anaconda environment name
Change SRCDIR to whatever directory the l3embedding repository is in
Change L3_MODEL_PATH to the path of the .h5 file of the model you want to use.
Change L3_POOLING_TYPE to original.
Change OUTPUT_DIR to your general experiment output directory. A subdirectory called features will be created here for the embedding output.
Add any additional command line arguments to the script call. Take a look at 05_generate_embedding_samples.py for the options. (shouldn't need to do for this though)
Run sbatch --array=1-<num folds> generate_embedding_samples_array_<dataset>.sbatch
is 10 for US8K, 5 for ESC-50, and 2 for DCASE
The text was updated successfully, but these errors were encountered:
US8K
ESC-50
DCASE 2013
Instructions
To generate samples (for L3 embedding models), make edit or make a copy of
jobs/generate_embedding_samples_array_<dataset name>.sbatch
In there, you'll want to make the following changes:<output_dir>/embedding/<music or environmental>/<l3 model type string>/<timestamp>/model_best_valid_accuracy.h5
. The code assumes this convention to be followed.SRCDIR
to whatever directory thel3embedding
repository is inL3_MODEL_PATH
to the path of the.h5
file of the model you want to use.L3_POOLING_TYPE
tooriginal
.OUTPUT_DIR
to your general experiment output directory. A subdirectory calledfeatures
will be created here for the embedding output.05_generate_embedding_samples.py
for the options. (shouldn't need to do for this though)sbatch --array=1-<num folds> generate_embedding_samples_array_<dataset>.sbatch
The text was updated successfully, but these errors were encountered: