Skip to content

Commit 21ec9e8

Browse files
authored
Merge pull request #17 from nttcslab/2024t2/v3.x.x
Fixed test scripts using evaluation data
2 parents 55dbfc9 + 2cf7dab commit 21ec9e8

File tree

3 files changed

+32
-5
lines changed

3 files changed

+32
-5
lines changed

02a_test_2024t2.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,17 @@ then
3131
dataset_list="DCASE2024T2bearing DCASE2024T2fan DCASE2024T2gearbox DCASE2024T2slider DCASE2024T2ToyCar DCASE2024T2ToyTrain DCASE2024T2valve"
3232
elif [ "${dev_eval}" = "-e" ] || [ "${dev_eval}" = "--eval" ]
3333
then
34-
echo eval data has not been published yet.
35-
exit 1
34+
dataset_list="\
35+
DCASE2024T23DPrinter \
36+
DCASE2024T2AirCompressor \
37+
DCASE2024T2Scanner \
38+
DCASE2024T2ToyCircuit \
39+
DCASE2024T2HoveringDrone \
40+
DCASE2024T2HairDryer \
41+
DCASE2024T2ToothBrush \
42+
DCASE2024T2RoboticArm \
43+
DCASE2024T2BrushlessMotor \
44+
"
3645
fi
3746

3847
for dataset in $dataset_list; do

02b_test_2024t2.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,17 @@ then
3131
dataset_list="DCASE2024T2bearing DCASE2024T2fan DCASE2024T2gearbox DCASE2024T2slider DCASE2024T2ToyCar DCASE2024T2ToyTrain DCASE2024T2valve"
3232
elif [ "${dev_eval}" = "-e" ] || [ "${dev_eval}" = "--eval" ]
3333
then
34-
echo eval data has not been published yet.
35-
exit 1
34+
dataset_list="\
35+
DCASE2024T23DPrinter \
36+
DCASE2024T2AirCompressor \
37+
DCASE2024T2Scanner \
38+
DCASE2024T2ToyCircuit \
39+
DCASE2024T2HoveringDrone \
40+
DCASE2024T2HairDryer \
41+
DCASE2024T2ToothBrush \
42+
DCASE2024T2RoboticArm \
43+
DCASE2024T2BrushlessMotor \
44+
"
3645
fi
3746

3847
for dataset in $dataset_list; do

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ This system consists of three main scripts (01_train.sh, 02a_test.sh, and 02b_te
3838
- This script makes a CSV file for each section, including the anomaly scores for each WAV file in the directories `data/dcase2024t2/dev_data/raw/<machine_type>/test/`.
3939
- The CSV files will be stored in the directory `results/`.
4040
- It also makes a csv file including AUC, pAUC, precision, recall, and F1-score for each section.
41+
- "Evaluation" mode: **Newly added!!**
42+
- This script makes a CSV file for each section, including the anomaly scores for each wav file in the directories `data/dcase2024t2/eval_data/raw/<machine_type>/test/`. (These directories will be made available with the "evaluation dataset".)
43+
- The CSV files are stored in the directory `results/`.
4144

4245
- 02b_test_2024t2.sh (Use Mahalanobis distance as a score function for the Selective Mahalanobis mode)
4346
- "Development" mode:
@@ -294,11 +297,17 @@ We developed and tested the source code on Ubuntu 20.04.4 LTS.
294297
- fasteners == 0.18
295298

296299
## Change Log
300+
### [3.2.2](https://github.com/nttcslab/dcase2023_task2_baseline_ae/releases/tag/v3.2.2)
301+
302+
#### Fixed test script
303+
304+
- Updated to fix issues in 02a_test_2024t2.sh and 02b_test_2024t2.sh.
305+
297306
### [3.2.1](https://github.com/nttcslab/dcase2023_task2_baseline_ae/releases/tag/v3.2.1)
298307

299308
#### Fixed download shell script
300309

301-
- The URL to download DCASE2024T2 Evaluation dataset was incorrect, so I fixed data_download_2024eval.sh.
310+
- The URL to download DCASE2024T2 Evaluation dataset was incorrect. Updated to fix issues in data_download_2024eval.sh.
302311

303312
### [3.2.0](https://github.com/nttcslab/dcase2023_task2_baseline_ae/releases/tag/v3.2.0)
304313

0 commit comments

Comments
 (0)