Skip to content

Commit 04ed90d

Browse files
Supported Evaluation Dataset (#13)
1 parent c7886d9 commit 04ed90d

File tree

4 files changed

+43
-4
lines changed

4 files changed

+43
-4
lines changed

01_train_2024t2.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ then
4242
DCASE2024T2RoboticArm \
4343
DCASE2024T2BrushlessMotor \
4444
"
45+
4546
fi
4647

4748
for dataset in $dataset_list; do

README.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,18 @@ This system consists of three main scripts (01_train.sh, 02a_test.sh, and 02b_te
2020
- data\_download\_2024dev.sh
2121
- "Development dataset":
2222
- This script downloads development data files and puts them into "data/dcase2024t2/dev\_data/raw/train/" and "data/dcase2024t2/dev\_data/raw/test/".
23-
- data\_download\_2024add.sh **Newly added!!**
23+
- data\_download\_2024add.sh **Updated on (2024/05/15)**
2424
- "Additional train dataset for Evaluation":
25-
- This script downloads Addition data files and puts them into "data/dcase2024t2/eval\_data/raw/train/". **Newly added!!**
25+
- This script downloads Addition data files and puts them into "data/dcase2024t2/eval\_data/raw/train/". **Updated on (2024/05/15)**
26+
- data\_download\_2024eval.sh **Newly added!!**
27+
- "Additional test dataset for Evaluation"
28+
- This script downloads evaluation data files and puts them into "data/dcase2024t2/eval\_data/raw/test".
2629

2730
- 01_train_2024t2.sh
2831
- "Development" mode:
2932
- This script trains a model for each machine type for each section ID by using the directory `data/dcase2024t2/dev_data/raw/<machine_type>/train/<section_id>`.
3033
- "Evaluation" mode:
31-
- This script trains a model for each machine type for each section ID by using the directory `data/dcase2024t2/eval_data/raw/<machine_type>/train/<section_id>`. **Newly added!!**
34+
- This script trains a model for each machine type for each section ID by using the directory `data/dcase2024t2/eval_data/raw/<machine_type>/train/<section_id>`. **Updated on (2024/05/15)**
3235

3336
- 02a_test_2024t2.sh (Use MSE as a score function for the Simple Autoencoder mode)
3437
- "Development" mode:
@@ -41,7 +44,10 @@ This system consists of three main scripts (01_train.sh, 02a_test.sh, and 02b_te
4144
- 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/`.
4245
- The CSV files will be stored in the directory `results/`.
4346
- It also makes a csv file including AUC, pAUC, precision, recall, and F1-score for each section.
44-
47+
- "Evaluation" mode: **Newly added!!**
48+
- 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".)
49+
- The CSV files are stored in the directory `results/`.
50+
4551
- 03_summarize_results.sh
4652
- This script summarizes results into a CSV file.
4753

@@ -64,6 +70,8 @@ We will launch the datasets in three stages. Therefore, please download the data
6470
+ "Additional Training Dataset", i.e., the evaluation dataset for training
6571
+ ~~Download "eval\_data_<machine_type>_train.zip" from [https://zenodo.org/records/11183284](https://zenodo.org/records/11183284). **Updated on (2024/05/15)**~~
6672
+ Download "eval\_data_<machine_type>_\[train\|train_r2\].zip" from [https://zenodo.org/records/11259435](https://zenodo.org/records/11259435). **New! 2023/05/24**
73+
+ "Evaluation Dataset", i.e., the evaluation dataset for test
74+
+ Download "eval\_data_<machine_type>_test.zip" from [https://zenodo.org/records/11363076](https://zenodo.org/records/11363076).
6775

6876

6977
+ For DCASE 2023 Challenge Task 2
@@ -113,6 +121,10 @@ We will launch the datasets in three stages. Therefore, please download the data
113121
+ ...
114122
+ section\_00\_target\_train\_normal\_0009\_.wav
115123
+ attributes\_00.csv (attributes CSV for section 00)
124+
+ test/ (after launch of the evaluation dataset)
125+
+ section\_00\_test\_0000.wav
126+
+ ...
127+
+ section\_00\_test\_0199.wav
116128
+ \<machine\_type1\_of\_additional\_dataset\> (The other machine types have the same directory structure as \<machine\_type0\_of\_additional\_dataset\>/.)
117129

118130
### 4. Change parameters
@@ -282,6 +294,12 @@ We developed and tested the source code on Ubuntu 20.04.4 LTS.
282294
- fasteners == 0.18
283295

284296
## Change Log
297+
### [3.2.0](https://github.com/nttcslab/dcase2023_task2_baseline_ae/releases/tag/v3.2.0)
298+
299+
#### Added
300+
301+
- Provides support for the evaluation dataset to be used in DCASE2024T2.
302+
285303
### [3.1.1](https://github.com/nttcslab/dcase2023_task2_baseline_ae/releases/tag/v3.1.1)
286304

287305
#### Updated the Zenodo link for the DCASE2024T2 additional training dataset

data_download_2024eval.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
parent_dir=data
2+
ROOT_DIR=$(cd $(dirname $0); pwd)/
3+
mkdir -p "${ROOT_DIR}/${parent_dir}/dcase2024t2/eval_data/raw"
4+
5+
# download eval data
6+
cd "${parent_dir}/dcase2024t2/eval_data/raw"
7+
for machine_type in bandsaw grinder shaker ToyDrone ToyNscale ToyTank Vacuum; do
8+
wget "https://zenodo.org/records/11363076/files/eval_data_${machine_type}_test.zip"
9+
unzip "eval_data_${machine_type}_test.zip"
10+
done
11+

datasets/download_path_2024.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,36 @@ DCASE2024T2:
2323
3DPrinter:
2424
eval:
2525
- https://zenodo.org/records/11259435/files/eval_data_3DPrinter_train_r2.zip
26+
- https://zenodo.org/records/11363076/files/eval_data_3DPrinter_test.zip
2627
AirCompressor:
2728
eval:
2829
- https://zenodo.org/records/11259435/files/eval_data_AirCompressor_train.zip
30+
- https://zenodo.org/records/11363076/files/eval_data_AirCompressor_test.zip
2931
Scanner:
3032
eval:
3133
- https://zenodo.org/records/11259435/files/eval_data_Scanner_train.zip
34+
- https://zenodo.org/records/11363076/files/eval_data_Scanner_test.zip
3235
ToyCircuit:
3336
eval:
3437
- https://zenodo.org/records/11259435/files/eval_data_ToyCircuit_train.zip
38+
- https://zenodo.org/records/11363076/files/eval_data_ToyCircuit_test.zip
3539
HoveringDrone:
3640
eval:
3741
- https://zenodo.org/records/11259435/files/eval_data_HoveringDrone_train.zip
42+
- https://zenodo.org/records/11363076/files/eval_data_HoveringDrone_test.zip
3843
HairDryer:
3944
eval:
4045
- https://zenodo.org/records/11259435/files/eval_data_HairDryer_train.zip
46+
- https://zenodo.org/records/11363076/files/eval_data_HairDryer_test.zip
4147
ToothBrush:
4248
eval:
4349
- https://zenodo.org/records/11259435/files/eval_data_ToothBrush_train.zip
50+
- https://zenodo.org/records/11363076/files/eval_data_ToothBrush_test.zip
4451
RoboticArm:
4552
eval:
4653
- https://zenodo.org/records/11259435/files/eval_data_RoboticArm_train_r2.zip
54+
- https://zenodo.org/records/11363076/files/eval_data_RoboticArm_test.zip
4755
BrushlessMotor:
4856
eval:
4957
- https://zenodo.org/records/11259435/files/eval_data_BrushlessMotor_train.zip
58+
- https://zenodo.org/records/11363076/files/eval_data_BrushlessMotor_test.zip

0 commit comments

Comments
 (0)