Skip to content

Commit

Permalink
FIX: fixed arguments of preprocess_data
Browse files Browse the repository at this point in the history
  • Loading branch information
femke-sintef committed Oct 11, 2023
1 parent 34a333d commit 6d898b6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions preprocess_data.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

DATA_DIR=$1 # Path where DCASE data have been stored (i.e. $BASE_FOLDER in dcase_setup.sh)

CONFIG_PATH="/app/CONFIG.yaml"
# Declare an associative array (key-value pairs)
declare -A SETS=( ["Training_Set"]="train" ["Validation_Set"]="validate" ["Evaluation_Set"]="test" )

Expand All @@ -11,8 +11,9 @@ for SET in "${!SETS[@]}"; do
docker run -v $DATA_DIR:/data \
-v $PWD:/app \
--gpus all \
# -it \
beats \
poetry run python /app/data_utils/DCASEfewshot.py \
--set_type $SET \
--status $STATUS
# bash \
poetry run python /app/data_utils/DCASEfewshot.py --config $CONFIG_PATH \

done

0 comments on commit 6d898b6

Please sign in to comment.