forked from RetroCirce/Zero_Shot_Audio_Source_Separation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_index.sh
12 lines (9 loc) · 799 Bytes
/
create_index.sh
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
python3 create_indexes.py create_indexes --waveforms_hdf5_path="/home/Research/ZS_ASP/data/audioset/hdf5s/indexes/balanced_train.h5"
# Unbalanced training indexes
for IDX in {00..40}; do
echo $IDX
python3 create_indexes.py create_indexes --waveforms_hdf5_path="/home/Research/ZS_ASP/data/audioset/hdf5s/waveforms/unbalanced_train/unbalanced_train_part$IDX.h5" --indexes_hdf5_path="/home/Research/ZS_ASP/data/audioset/hdf5s/indexes/unbalanced_train/unbalanced_train_part$IDX.h5"
done
# Combine balanced and unbalanced training indexes to a full training indexes hdf5
python3 create_indexes.py combine_full_indexes --indexes_hdf5s_dir="/home/Research/ZS_ASP/data/audioset/hdf5s/indexes" --full_indexes_hdf5_path="/home/Research/ZS_ASP/data/audioset/hdf5s/indexes/full_train.h5"