-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from nttcslab/2024t2/v3.0.0
Updated for DCASE2024 Task2
- Loading branch information
Showing
26 changed files
with
405 additions
and
139 deletions.
There are no files selected for viewing
File renamed without changes.
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,40 @@ | ||
TZ=JST-9 date | ||
|
||
echo $0 $* | ||
|
||
dev_eval=$1 | ||
echo -e "\tdev_eval = '$dev_eval'" | ||
echo | ||
|
||
# check args | ||
if [ "${dev_eval}" != "-d" ] \ | ||
&& [ "${dev_eval}" != "-e" ] \ | ||
&& [ "${dev_eval}" != "--dev" ] \ | ||
&& [ "${dev_eval}" != "--eval" ] | ||
then | ||
echo "$0: argument error" | ||
echo -e "usage\t: $0 ['-d' | '--dev' | '-e' | '--eval']" | ||
echo -e "\tinvalid choice '$dev_eval'" | ||
echo -e "\tchoice from ['-d' | '--dev' | '-e' | '--eval']." | ||
echo -e "\t\t-d, --dev\t: Using Development dataset. " | ||
echo -e "\t\t-e, --eval\t: Using Additional training dataset and Evaluation dataset. " | ||
echo -e "example\t: $ bash $0 -d" | ||
exit 1 | ||
fi | ||
|
||
# main process | ||
base_job="bash" | ||
job="train_ae.sh" | ||
|
||
if [ "${dev_eval}" = "-d" ] || [ "${dev_eval}" = "--dev" ] | ||
then | ||
dataset_list="DCASE2024T2bearing DCASE2024T2fan DCASE2024T2gearbox DCASE2024T2slider DCASE2024T2ToyCar DCASE2024T2ToyTrain DCASE2024T2valve" | ||
elif [ "${dev_eval}" = "-e" ] || [ "${dev_eval}" = "--eval" ] | ||
then | ||
echo eval data has not been published yet. | ||
exit 1 | ||
fi | ||
|
||
for dataset in $dataset_list; do | ||
${base_job} ${job} ${dataset} ${dev_eval} 0 | ||
done |
File renamed without changes.
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,40 @@ | ||
TZ=JST-9 date | ||
|
||
echo $0 $* | ||
|
||
dev_eval=$1 | ||
echo -e "\tdev_eval = '$dev_eval'" | ||
echo | ||
|
||
# check args | ||
if [ "${dev_eval}" != "-d" ] \ | ||
&& [ "${dev_eval}" != "-e" ] \ | ||
&& [ "${dev_eval}" != "--dev" ] \ | ||
&& [ "${dev_eval}" != "--eval" ] | ||
then | ||
echo "$0: argument error" | ||
echo -e "usage\t: $0 ['-d' | '--dev' | '-e' | '--eval']" | ||
echo -e "\tinvalid choice '$dev_eval'" | ||
echo -e "\tchoice from ['-d' | '--dev' | '-e' | '--eval']." | ||
echo -e "\t\t-d, --dev\t: Using Development dataset. " | ||
echo -e "\t\t-e, --eval\t: Using Additional training dataset and Evaluation dataset. " | ||
echo -e "example\t: $ bash $0 -d" | ||
exit 1 | ||
fi | ||
|
||
# main process | ||
base_job="bash" | ||
job="test_ae.sh" | ||
|
||
if [ "${dev_eval}" = "-d" ] || [ "${dev_eval}" = "--dev" ] | ||
then | ||
dataset_list="DCASE2024T2bearing DCASE2024T2fan DCASE2024T2gearbox DCASE2024T2slider DCASE2024T2ToyCar DCASE2024T2ToyTrain DCASE2024T2valve" | ||
elif [ "${dev_eval}" = "-e" ] || [ "${dev_eval}" = "--eval" ] | ||
then | ||
echo eval data has not been published yet. | ||
exit 1 | ||
fi | ||
|
||
for dataset in $dataset_list; do | ||
${base_job} ${job} ${dataset} ${dev_eval} "MSE" 0 | ||
done |
File renamed without changes.
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,40 @@ | ||
TZ=JST-9 date | ||
|
||
echo $0 $* | ||
|
||
dev_eval=$1 | ||
echo -e "\tdev_eval = '$dev_eval'" | ||
echo | ||
|
||
# check args | ||
if [ "${dev_eval}" != "-d" ] \ | ||
&& [ "${dev_eval}" != "-e" ] \ | ||
&& [ "${dev_eval}" != "--dev" ] \ | ||
&& [ "${dev_eval}" != "--eval" ] | ||
then | ||
echo "$0: argument error" | ||
echo -e "usage\t: $0 ['-d' | '--dev' | '-e' | '--eval']" | ||
echo -e "\tinvalid choice '$dev_eval'" | ||
echo -e "\tchoice from ['-d' | '--dev' | '-e' | '--eval']." | ||
echo -e "\t\t-d, --dev\t: Using Development dataset. " | ||
echo -e "\t\t-e, --eval\t: Using Additional training dataset and Evaluation dataset. " | ||
echo -e "example\t: $ bash $0 -d" | ||
exit 1 | ||
fi | ||
|
||
# main process | ||
base_job="bash" | ||
job="test_ae.sh" | ||
|
||
if [ "${dev_eval}" = "-d" ] || [ "${dev_eval}" = "--dev" ] | ||
then | ||
dataset_list="DCASE2024T2bearing DCASE2024T2fan DCASE2024T2gearbox DCASE2024T2slider DCASE2024T2ToyCar DCASE2024T2ToyTrain DCASE2024T2valve" | ||
elif [ "${dev_eval}" = "-e" ] || [ "${dev_eval}" = "--eval" ] | ||
then | ||
echo eval data has not been published yet. | ||
exit 1 | ||
fi | ||
|
||
for dataset in $dataset_list; do | ||
${base_job} ${job} ${dataset} ${dev_eval} "MAHALA" 0 | ||
done |
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
Oops, something went wrong.