-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
parisa-zahedi
committed
Jun 26, 2024
1 parent
4d8d770
commit 14da727
Showing
2 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
DATADIR='/Volumes/science.data.uu.nl/research-zwerts/data/sanaga_test_chunks/' | ||
RECORDERS='A1 A3 A4 A5 A21 A22 A26 A38' | ||
|
||
OUTPUTDIR='../../output/features/' | ||
echo $DATADIR | ||
for RECORDER in $RECORDERS | ||
do | ||
echo $DATADIR | ||
echo $OUTPUTDIR | ||
python3 extract_features_dl.py --input_dir $DATADIR'chimps/'$RECORDER'/*/*.wav' --output_dir $OUTPUTDIR$RECORDER'/'$RECORDER'_chimpanze.pkl' --label 'chimpanze' --window_length 750 --hop_length 376 --n_mel 64 --new_img_size 64 64 | ||
python3 extract_features_dl.py --input_dir $DATADIR'background/'$RECORDER'/*/*.wav' --output_dir $OUTPUTDIR$RECORDER'/'$RECORDER'_background.pkl' --label 'background' --window_length 750 --hop_length 376 --n_mel 64 --new_img_size 64 64 | ||
done | ||
|
||
|