Other
IN03X commited on
Commit
164a408
Β·
verified Β·
1 Parent(s): 32a0e1e

Finalize evaluation versions and six-metric results

Browse files
Files changed (3) hide show
  1. README.md +78 -27
  2. docs/checkpoints/said_audiomae.md +6 -3
  3. docs/evaluation.md +140 -81
README.md CHANGED
@@ -21,7 +21,10 @@ with a Macro mAP of **0.1080** and a Macro Pearson r of **0.3962**.
21
 
22
  Runbang Wang, Zining Liang, Yin Cao, and Qiuqiang Kong
23
 
24
- [Pretrained models and Model Card](https://huggingface.co/IN03X/SAID)
 
 
 
25
 
26
  ## Overview
27
 
@@ -65,20 +68,27 @@ legend, colors, and display scale.
65
  |---|---:|---:|---:|
66
  | CUHK (SAID) | **1** | **0.1080** | **0.3962** |
67
 
68
- These are the official challenge results for the submitted SAID system. Both
69
- metrics use the official macro-averaged protocol.
 
 
70
 
71
  ### Full-recording development test set
72
 
73
- | Paper checkpoint | Macro mAP | Macro Pearson r | Mask AP | Macro Class-F1 |
74
- |---|---:|---:|---:|---:|
75
- | SAID (PaSST) | **0.120150** | 0.426790 | **0.237972** | 0.388488 |
76
- | SAID (AudioMAE) | 0.113441 | **0.430736** | 0.228684 | **0.395124** |
77
 
78
- The development-test results cover all 78 full recordings. Macro mAP and Macro
79
- Pearson r use the official DCASE evaluator. Mask AP applies the same official AP
80
- calculation after merging the classes, measuring source-region detection.
81
- Macro Class-F1 measures classification for spatial matches within 20Β°.
 
 
 
 
 
82
 
83
  ## Quick start
84
 
@@ -117,46 +127,68 @@ class labels. The four licensed demo inputs are included in the release.
117
 
118
  ### Run inference
119
 
 
 
120
  ```bash
121
  said infer recording.wav --model said_passt
122
  ```
123
 
124
  `recording.wav` can contain the complete 32-channel Eigenmike recording or the
125
  four Eigenmike capsules `[6, 10, 26, 22]` in that order. The input pipeline
126
- selects these capsules and resamples them to 48 kHz. SAID writes a lossless,
127
- chunked prediction archive containing the labeled acoustic maps, class IDs,
128
- confidence scores, timing information, and checkpoint identity.
 
129
 
130
- Select SAID (AudioMAE) with:
 
131
 
132
  ```bash
133
- said infer recording.wav --model said_audiomae
 
 
 
 
134
  ```
135
 
136
- Run the published Audio2Sph and Panoramic Decoder without Sph2Imaging or a
137
- Class Feature Encoder with:
 
138
 
139
  ```bash
 
140
  said infer recording.wav --model audio2sph
141
  ```
142
 
143
- This route writes dense class-agnostic 180Γ—360 maps at the native 100 Hz time
144
- base.
 
145
 
146
  See [Inference](docs/inference.md) for recording-domain selection,
147
  visualization, output fields, and the Python API.
148
 
149
  ### Reproduce the evaluation
150
 
 
 
 
 
 
 
 
 
 
151
  ```bash
152
- said evaluate /path/to/dcase2026 --model said_passt
 
 
153
  ```
154
 
155
- The command runs full-recording inference on the 78-file DCASE development-test
156
- set, writes standard DCASE predictions, and reports the four metrics shown
157
- above. On its first metric run, SAID obtains the official DCASE2026 Task 3
158
- evaluator directly from the official baseline repository and records its
159
- source identity with the results.
160
 
161
  See [Evaluation](docs/evaluation.md) for the dataset layout, frozen paper
162
  protocol, reusable predictions, and metric definitions.
@@ -201,11 +233,18 @@ said train --config configs/training/sourcebank_passt.yaml
201
  said train --config configs/training/dcase_passt.yaml
202
  ```
203
 
 
 
 
 
 
 
204
  The corresponding AudioMAE route uses
205
  `configs/training/sourcebank_audiomae.yaml` and
206
  `configs/training/dcase_audiomae.yaml`. All recipes use the same configuration
207
  schema and `said train` interface. Interrupted runs resume with
208
- `said train --config CONFIG --resume CHECKPOINT`.
 
209
 
210
  See [Training](docs/training.md), [Configuration](docs/configuration.md), and
211
  [Data preparation](docs/data.md) for the complete workflow and interfaces.
@@ -219,6 +258,11 @@ and connect them through the included adapters:
219
  - VCTK v0.80 for Audio2Sph pretraining;
220
  - a local SourceBank manifest for class-labeled Online Scene Generation.
221
 
 
 
 
 
 
222
  SAID includes the renderer, Eigenmike geometry, DCASE adapters, VCTK
223
  preparation, SourceBank validation, and target construction. Dataset paths and
224
  permissions remain explicit in `configs/data.yaml` and the SourceBank manifest.
@@ -234,6 +278,13 @@ DCASE JSON files under the per-recording size limit:
234
  said compress said_evaluation/inference_outputs --output said_compressed
235
  ```
236
 
 
 
 
 
 
 
 
237
  See [Prediction compression](docs/compression.md) for the paper parameters,
238
  fallback policy, and evaluation procedure.
239
 
 
21
 
22
  Runbang Wang, Zining Liang, Yin Cao, and Qiuqiang Kong
23
 
24
+ [Official DCASE2026 results](https://dcase.community/challenge2026/task-semantic-acoustic-imaging-for-sound-event-localization-and-detection-from-spatial-audio-and-audiovisual-scenes-results)
25
+ Β· [Models and checkpoints](https://huggingface.co/IN03X/SAID)
26
+ Β· [Evaluation and reproduction](docs/evaluation.md)
27
+ Β· [Training](docs/training.md)
28
 
29
  ## Overview
30
 
 
68
  |---|---:|---:|---:|
69
  | CUHK (SAID) | **1** | **0.1080** | **0.3962** |
70
 
71
+ These are the
72
+ [official challenge results](https://dcase.community/challenge2026/task-semantic-acoustic-imaging-for-sound-event-localization-and-detection-from-spatial-audio-and-audiovisual-scenes-results)
73
+ for the submitted SAID system. Both metrics use the official macro-averaged
74
+ protocol.
75
 
76
  ### Full-recording development test set
77
 
78
+ Metric labels: **(4.2)** is the official evaluator from **2026-04-02**
79
+ ([commit `84b2cd1`](https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline/commit/84b2cd155c9ee0c2176f386db54541ffd75312b2));
80
+ **(6.30)** is the current official evaluator from **2026-06-30**
81
+ ([commit `d4df662`](https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline/commit/d4df66251f39e34bc0157be93858e5a68ec9d7c4)).
82
 
83
+ | Paper checkpoint | Macro mAP (4.2) | Mask AP (4.2) | Macro mAP (6.30) | Class-agnostic AP (6.30) | Macro Pearson r (6.30) | Macro Class-F1 |
84
+ |---|---:|---:|---:|---:|---:|---:|
85
+ | SAID (PaSST) | **0.120150** | **0.237972** | 0.124514 | **0.197483** | 0.426790 | 0.388488 |
86
+ | SAID (AudioMAE) | 0.113441 | 0.228684 | **0.124763** | 0.193225 | **0.430736** | **0.395145** |
87
+
88
+ The paper reports the (4.2) AP values shown in the table; the (6.30) columns
89
+ apply the current official definitions to the same predictions.
90
+ [Evaluation](docs/evaluation.md#metric-versions) gives the exact definitions,
91
+ upstream commits, and output fields.
92
 
93
  ## Quick start
94
 
 
127
 
128
  ### Run inference
129
 
130
+ The shortest command writes one readable JSON prediction:
131
+
132
  ```bash
133
  said infer recording.wav --model said_passt
134
  ```
135
 
136
  `recording.wav` can contain the complete 32-channel Eigenmike recording or the
137
  four Eigenmike capsules `[6, 10, 26, 22]` in that order. The input pipeline
138
+ selects these capsules and resamples them to 48 kHz. Complete SAID models write
139
+ standard DCASE JSON by default to
140
+ `said_output/recording_inference.json`. The file can be read with any JSON
141
+ library and passed directly to the DCASE evaluation and compression tools.
142
 
143
+ A longer form can retain lossless float32 maps and create a synchronized
144
+ prediction video at the same time:
145
 
146
  ```bash
147
+ said infer recording.wav \
148
+ --model said_passt \
149
+ --format npz \
150
+ --visual panorama.mp4 \
151
+ --output said_output
152
  ```
153
 
154
+ `--format npz` and `--visual panorama.mp4` are independent options: select
155
+ either one or combine them as above. The same interface selects SAID
156
+ (AudioMAE) or the class-agnostic Audio2Sph and Panoramic Decoder:
157
 
158
  ```bash
159
+ said infer recording.wav --model said_audiomae
160
  said infer recording.wav --model audio2sph
161
  ```
162
 
163
+ Audio2Sph writes native 100 Hz class-agnostic spherical points to one
164
+ `audio2sph-prediction-json-v1` file by default. Its optional NPZ retains the
165
+ dense 180Γ—360 float32 maps.
166
 
167
  See [Inference](docs/inference.md) for recording-domain selection,
168
  visualization, output fields, and the Python API.
169
 
170
  ### Reproduce the evaluation
171
 
172
+ Download the official STAIRS26 development archives
173
+ [`32ch_audio_dev.zip`](https://zenodo.org/api/records/18171005/files/32ch_audio_dev.zip/content)
174
+ and
175
+ [`labels_dev.zip`](https://zenodo.org/api/records/18171005/files/labels_dev.zip/content),
176
+ then extract both into one dataset directory. For example, when the extracted
177
+ directories are
178
+ `$HOME/datasets/dcase2026_task3/eigen_dev/` and
179
+ `$HOME/datasets/dcase2026_task3/labels_dev/`, run:
180
+
181
  ```bash
182
+ said evaluate "$HOME/datasets/dcase2026_task3" \
183
+ --model said_passt \
184
+ --add-previous-metrics
185
  ```
186
 
187
+ The default output follows the current (6.30) official definition.
188
+ `--add-previous-metrics` adds the two (4.2) COCO AP values used in the paper.
189
+ Pearson r always uses (6.30).
190
+
191
+ Metric code: [official DCASE2026 Task 3 evaluator](https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline).
192
 
193
  See [Evaluation](docs/evaluation.md) for the dataset layout, frozen paper
194
  protocol, reusable predictions, and metric definitions.
 
233
  said train --config configs/training/dcase_passt.yaml
234
  ```
235
 
236
+ The supplied recipes use published checkpoint assets by default, so each
237
+ command is directly runnable after its required data is configured. To carry
238
+ newly trained weights from one part of the workflow into the next, update the
239
+ next recipe's `load_audio2sph_ckpt` or `load_said_ckpt` as listed in
240
+ [Training](docs/training.md#reference-recipes).
241
+
242
  The corresponding AudioMAE route uses
243
  `configs/training/sourcebank_audiomae.yaml` and
244
  `configs/training/dcase_audiomae.yaml`. All recipes use the same configuration
245
  schema and `said train` interface. Interrupted runs resume with
246
+ the same `said train --config CONFIG` command. The latest complete training
247
+ state is detected automatically; `--resume CHECKPOINT` selects another state.
248
 
249
  See [Training](docs/training.md), [Configuration](docs/configuration.md), and
250
  [Data preparation](docs/data.md) for the complete workflow and interfaces.
 
258
  - VCTK v0.80 for Audio2Sph pretraining;
259
  - a local SourceBank manifest for class-labeled Online Scene Generation.
260
 
261
+ These map to `dcase_recordings.root`, the two
262
+ `simulated_scenes.vctk.*_root` fields, and the two
263
+ `simulated_scenes.sourcebank` path fields in `configs/data.yaml`, respectively.
264
+ Only the files selected by the current recipe are required.
265
+
266
  SAID includes the renderer, Eigenmike geometry, DCASE adapters, VCTK
267
  preparation, SourceBank validation, and target construction. Dataset paths and
268
  permissions remain explicit in `configs/data.yaml` and the SourceBank manifest.
 
278
  said compress said_evaluation/inference_outputs --output said_compressed
279
  ```
280
 
281
+ For a single recording produced by `said infer`, use its output directory
282
+ directly:
283
+
284
+ ```bash
285
+ said compress said_output --output said_compressed
286
+ ```
287
+
288
  See [Prediction compression](docs/compression.md) for the paper parameters,
289
  fallback policy, and evaluation procedure.
290
 
docs/checkpoints/said_audiomae.md CHANGED
@@ -77,9 +77,12 @@ API consistency and does not apply a domain embedding in this variant.
77
 
78
  ## Reported development-test metrics
79
 
80
- | Macro mAP | Macro Pearson r | Mask AP | Macro Class-F1 |
81
- |---:|---:|---:|---:|
82
- | 0.113441 | 0.430736 | 0.228684 | 0.395124 |
 
 
 
83
 
84
  The metrics use all 78 full development-test recordings. Pearson correlation
85
  uses the official macro protocol.
 
77
 
78
  ## Reported development-test metrics
79
 
80
+ Here (4.2) means 2026-04-02, commit `84b2cd1`; (6.30) means
81
+ 2026-06-30, commit `d4df662`. See [Evaluation](../evaluation.md#metric-versions).
82
+
83
+ | Macro mAP (4.2) | Mask AP (4.2) | Macro mAP (6.30) | Class-agnostic AP (6.30) | Macro Pearson r (6.30) | Macro Class-F1 |
84
+ |---:|---:|---:|---:|---:|---:|
85
+ | 0.113441 | 0.228684 | 0.124763 | 0.193225 | 0.430736 | 0.395145 |
86
 
87
  The metrics use all 78 full development-test recordings. Pearson correlation
88
  uses the official macro protocol.
docs/evaluation.md CHANGED
@@ -1,59 +1,60 @@
1
  # DCASE development-test evaluation
2
 
3
- SAID evaluates the complete DCASE2026 Task 3 development-test split: 30 Sony
4
- recordings and 48 TAU recordings. The command discovers audio and labels under
5
- the dataset root, assigns the corresponding recording-domain embedding, runs
6
- full-recording inference, writes standard DCASE JSON, and runs the official
7
- DCASE evaluator.
8
 
9
- The complete command is:
10
 
11
- ```bash
12
- said evaluate /path/to/dcase2026 --model said_passt
13
- ```
14
 
15
- On the first metric run, SAID downloads the current official `evaluate.py` from
16
- the DCASE2026 Task 3 baseline repository and stores it at
17
- `said/evaluation/metrics/official/evaluate.py`. Later runs reuse the local file.
18
- The official source is obtained from its original repository; it is not
19
- committed to SAID or included in the wheel.
20
 
21
- SAID normalizes prediction filenames, runs the official evaluator for the
22
- class-aware metrics, and runs it again after temporary class collapsing for
23
- class-agnostic Mask AP. The independent 20-degree matched Class Macro-F1 is in
24
- `said/evaluation/metrics/class_f1.py`. Temporary class-collapsed JSON files
25
- are removed automatically.
26
 
27
- For local score reproduction, SAID disables only the official script's 20 MB
28
- submission-file guard; its metric functions and parameters are unchanged.
29
- Per-recording submission-size compliance is verified separately by
30
- `said compress`.
 
 
31
 
32
- Existing prediction directories, including output from `said compress`, can be
33
- scored directly:
34
 
35
- ```bash
36
- said evaluate /path/to/dcase2026 \
37
- --predictions said_compressed \
38
- --output said_compressed_evaluation
39
- ```
 
 
 
 
40
 
41
- This path invokes the downloaded official evaluator and does not load a model or
42
- repeat inference.
43
 
44
- `--predictions-only` explicitly selects export and validation without metric
45
- computation:
 
 
 
 
 
46
 
47
  ```bash
48
- said evaluate /path/to/dcase2026 \
49
- --model said_passt \
50
- --predictions-only
51
  ```
52
 
53
- ## Dataset layout
54
 
55
  ```text
56
- dcase2026/
57
  β”œβ”€β”€ eigen_dev/
58
  β”‚ β”œβ”€β”€ dev-test-sony/*.wav
59
  β”‚ └── dev-test-tau/*.wav
@@ -62,58 +63,116 @@ dcase2026/
62
  └── dev-test-tau/*_std.json
63
  ```
64
 
65
- Audio and label stems must match one-to-one. Missing files, duplicate label
66
- stems, and incomplete paper splits are rejected. The number of evaluated frames
67
- for each recording is `max(metadata_frame_index) + 1` from its label file; WAV
68
- duration does not extend the paper evaluation interval. The complete WAV is
69
- loaded before resampling, and the final two-second model window retains real
70
- audio beyond the final annotated frame when that context exists. Only emitted
71
- predictions are truncated to the label-defined frame count.
72
-
73
- ## Frozen paper protocol
74
-
75
- - 48 kHz selected Eigenmike capsules `[6, 10, 26, 22]`;
76
- - two-second windows with the first 20 of 21 detector positions retained;
77
- - 10 fps, truncated to each label-defined recording length;
78
- - slot confidence at least 0.05;
79
- - at most four slots per frame, sorted by confidence;
80
- - map points at least 10% of the corresponding map peak;
81
- - no additional energy top-k limit;
82
- - score and energy rounded to six decimal places;
83
- - zero-based 13-class taxonomy;
84
- - `x_dcase = (179 - x_model) mod 360`.
85
 
86
- `evaluation_manifest.json` records the software and protocol revisions,
87
- checkpoint SHA256, model variant, Eigenmike capsule order, coordinate
88
- convention, Sony/TAU counts, label-defined frame counts, audio and label
89
- hashes, a complete dataset fingerprint, and each prediction JSON hash and
90
- size. Every field is revalidated before an existing inference is reused.
91
 
92
- ## Official evaluator source
 
93
 
94
- The official evaluator is downloaded from:
 
 
 
95
 
96
- ```text
97
- repository: https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline
98
- download: https://raw.githubusercontent.com/iranroman/DCASE2026_Task3_SAISELD_baseline/main/evaluate.py
99
- ```
100
 
101
- The repository, source URL, downloaded-file SHA256, and local path are recorded
102
- in `evaluator.json` for result provenance. The SHA256 is descriptive rather
103
- than a version gate, so future updates published by the official repository can
104
- be downloaded without changing SAID. A failed download stops evaluation before
105
- an incomplete file is published or executed.
106
 
107
- The output `metrics.json` contains the four paper fields:
 
 
108
 
109
  ```json
110
  {
111
- "official_macro_map": 0.120150225347623,
 
112
  "official_macro_pearson_r": 0.426790037524333,
113
- "class_agnostic_mask_ap": 0.237972219425958,
114
- "matched_class_macro_f1": 0.388487929954242
 
115
  }
116
  ```
117
 
118
- The first two are official DCASE metrics. Class-agnostic Mask AP and 20-degree
119
- matched Class Macro-F1 are the paper's class and localization diagnostics.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # DCASE development-test evaluation
2
 
3
+ SAID evaluates all 78 full recordings in the DCASE2026 Task 3 development-test
4
+ split: 30 Sony recordings and 48 TAU recordings.
 
 
 
5
 
6
+ ## Metric versions
7
 
8
+ The official evaluator changed during the challenge. The short labels used
9
+ below are defined here before their first use:
 
10
 
11
+ | Label | Official definition |
12
+ |---|---|
13
+ | **(4.2) COCO AP** β€” **2026-04-02**, [`84b2cd1`](https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline/commit/84b2cd155c9ee0c2176f386db54541ffd75312b2) | 180Γ—360 spherical Gaussian masks, Οƒ = 6Β°, 10% peak threshold, and COCO segmentation AP at IoU 0.50:0.95. |
14
+ | **(6.30) Soft-IoU / Macro Pearson** β€” **2026-06-30**, [`d4df662`](https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline/commit/d4df66251f39e34bc0157be93858e5a68ec9d7c4) | 100Γ—50 interpolated soft maps, soft-IoU AP at 0.25, 0.50, and 0.75, class-macro soft-map Pearson r, and correct zero AP when a class has ground truth but no detection. |
 
15
 
16
+ The paper uses the versions below:
 
 
 
 
17
 
18
+ | Paper column | Version |
19
+ |---|---|
20
+ | Macro mAP | **(4.2)**, averaged over 13 classes |
21
+ | Mask AP | **(4.2)**, after merging all classes into `All classes` |
22
+ | Macro Pearson r | **(6.30)** |
23
+ | Macro Class-F1 | SAID diagnostic: class F1 after 20Β° spatial matching |
24
 
25
+ The (4.2) evaluator also contains an older Pearson calculation. The paper does
26
+ not use it. Pearson r always comes from (6.30).
27
 
28
+ Complete full-recording development-test results:
29
+
30
+ | Paper checkpoint | Macro mAP (4.2) | Mask AP (4.2) | Macro mAP (6.30) | Class-agnostic AP (6.30) | Macro Pearson r (6.30) | Macro Class-F1 |
31
+ |---|---:|---:|---:|---:|---:|---:|
32
+ | SAID (PaSST) | **0.120150** | **0.237972** | 0.124514 | **0.197483** | 0.426790 | 0.388488 |
33
+ | SAID (AudioMAE) | 0.113441 | 0.228684 | **0.124763** | 0.193225 | **0.430736** | **0.395145** |
34
+
35
+ The AP values differ because (4.2) and (6.30) are different official metric
36
+ definitions applied to the same predictions.
37
 
38
+ ## Download the development data
 
39
 
40
+ Download these two files from the official
41
+ [STAIRS26 record](https://zenodo.org/records/18171005):
42
+
43
+ - [`32ch_audio_dev.zip`](https://zenodo.org/api/records/18171005/files/32ch_audio_dev.zip/content)
44
+ - [`labels_dev.zip`](https://zenodo.org/api/records/18171005/files/labels_dev.zip/content)
45
+
46
+ Extract both archives into one directory:
47
 
48
  ```bash
49
+ mkdir -p "$HOME/datasets/dcase2026_task3"
50
+ unzip 32ch_audio_dev.zip -d "$HOME/datasets/dcase2026_task3"
51
+ unzip labels_dev.zip -d "$HOME/datasets/dcase2026_task3"
52
  ```
53
 
54
+ Expected layout:
55
 
56
  ```text
57
+ $HOME/datasets/dcase2026_task3/
58
  β”œβ”€β”€ eigen_dev/
59
  β”‚ β”œβ”€β”€ dev-test-sony/*.wav
60
  β”‚ └── dev-test-tau/*.wav
 
63
  └── dev-test-tau/*_std.json
64
  ```
65
 
66
+ ## Run the paper evaluation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
+ ```bash
69
+ said evaluate "$HOME/datasets/dcase2026_task3" \
70
+ --model said_passt \
71
+ --add-previous-metrics
72
+ ```
73
 
74
+ The example includes `--add-previous-metrics` because it reproduces the paper
75
+ table.
76
 
77
+ | Command | Metrics produced |
78
+ |---|---|
79
+ | `said evaluate ...` | Current (6.30) Macro mAP, class-agnostic AP, Macro Pearson r, and Class-F1 |
80
+ | `said evaluate ... --add-previous-metrics` | All default metrics, plus (4.2) Paper Macro mAP and Paper Mask AP |
81
 
82
+ `--add-previous-metrics` adds the two (4.2) AP values. It does not change
83
+ inference or Pearson r.
 
 
84
 
85
+ The evaluator comes from the
86
+ [official DCASE2026 Task 3 repository](https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline).
 
 
 
87
 
88
+ ## Output fields
89
+
90
+ With `--add-previous-metrics`, `metrics.json` contains:
91
 
92
  ```json
93
  {
94
+ "official_macro_map": 0.124514075016962,
95
+ "official_class_agnostic_ap": 0.197482567736491,
96
  "official_macro_pearson_r": 0.426790037524333,
97
+ "matched_class_macro_f1": 0.388487929954242,
98
+ "paper_coco_macro_map": 0.120150225347623,
99
+ "paper_coco_mask_ap": 0.237972219425958
100
  }
101
  ```
102
 
103
+ | JSON field | Meaning |
104
+ |---|---|
105
+ | `official_macro_map` | (6.30) current official Macro mAP |
106
+ | `official_class_agnostic_ap` | (6.30) AP after merging all classes |
107
+ | `official_macro_pearson_r` | (6.30) current official Macro Pearson r |
108
+ | `matched_class_macro_f1` | SAID 20Β° matched Macro Class-F1 |
109
+ | `paper_coco_macro_map` | (4.2) paper Macro mAP |
110
+ | `paper_coco_mask_ap` | (4.2) paper Mask AP with one `All classes` category |
111
+
112
+ Without `--add-previous-metrics`, the final two fields are absent.
113
+
114
+ ## Score existing predictions
115
+
116
+ Inference does not need to be repeated:
117
+
118
+ ```bash
119
+ said evaluate "$HOME/datasets/dcase2026_task3" \
120
+ --predictions said_evaluation/inference_outputs \
121
+ --output said_evaluation_rescored \
122
+ --add-previous-metrics
123
+ ```
124
+
125
+ Compressed DCASE JSON can be evaluated in the same way by passing its output
126
+ directory to `--predictions`.
127
+
128
+ To export predictions without computing metrics:
129
+
130
+ ```bash
131
+ said evaluate "$HOME/datasets/dcase2026_task3" \
132
+ --model said_passt \
133
+ --predictions-only
134
+ ```
135
+
136
+ ## Paper inference protocol
137
+
138
+ - selected Eigenmike capsules `[6, 10, 26, 22]` at 48 kHz;
139
+ - two-second windows, retaining the first 20 of 21 detector positions;
140
+ - 10 predictions per second;
141
+ - at most four slots per frame with confidence at least 0.05;
142
+ - map points at least 10% of the corresponding map peak;
143
+ - scores and energy rounded to six decimal places;
144
+ - zero-based 13-class taxonomy;
145
+ - `x_dcase = (179 - x_model) mod 360`.
146
+
147
+ The evaluated frame count is `max(metadata_frame_index) + 1` from each label
148
+ file. Predictions beyond that interval are not emitted.
149
+
150
+ ## Exact official revisions
151
+
152
+ | Date | Commit | Change |
153
+ |---|---|---|
154
+ | **(4.2)** | [`84b2cd1`](https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline/commit/84b2cd155c9ee0c2176f386db54541ffd75312b2) | COCO Mask AP used by the paper |
155
+ | 5.18 | [`2bbbe41`](https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline/commit/2bbbe41af0815c84122d1df5247ec25d483acbb1) | Replaced COCO masks with interpolated soft maps and introduced the later Pearson framework |
156
+ | 5.28 | [`d47b751`](https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline/commit/d47b751548a303cad109a2affd5934a12ee2d65e) | Set soft-IoU thresholds to 0.25, 0.50, and 0.75 |
157
+ | **(6.30)** | [`d4df662`](https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline/commit/d4df66251f39e34bc0157be93858e5a68ec9d7c4) | Corrected AP handling for ground truth with no detection |
158
+
159
+ The default command downloads the official repository's current `main`, which
160
+ is (6.30) at this release. The optional (4.2) AP source is fixed to `84b2cd1`.
161
+
162
+ Sources:
163
+
164
+ ```text
165
+ Repository: https://github.com/iranroman/DCASE2026_Task3_SAISELD_baseline
166
+ Current (6.30): https://raw.githubusercontent.com/iranroman/DCASE2026_Task3_SAISELD_baseline/main/evaluate.py
167
+ Paper AP (4.2): https://raw.githubusercontent.com/iranroman/DCASE2026_Task3_SAISELD_baseline/84b2cd1/evaluate.py
168
+ ```
169
+
170
+ The downloaded source URL and SHA256 are recorded in `evaluator.json`. Metric
171
+ workers process recordings in parallel and merge them in recording order. The
172
+ official metric formulas and parameters are unchanged. The evaluator's 20 MB
173
+ submission guard is checked separately by `said compress` and is not applied
174
+ when reproducing local scores.
175
+
176
+ Evaluation progress is recorded after each completed recording. Repeating an
177
+ interrupted command validates the checkpoint, dataset, protocol, and completed
178
+ prediction hashes before continuing.