Other
IN03X commited on
Commit
0d17816
·
verified ·
1 Parent(s): 6ee6802

Release Audio2Sph and Panoramic Decoder checkpoint

Browse files

Add the paper class-agnostic Audio2Sph + Panoramic Decoder checkpoint, checkpoint card, native inference documentation, and TAU/Sony comparison demos.

.gitattributes CHANGED
@@ -35,3 +35,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  docs/media/said_demo_1.mp4 filter=lfs diff=lfs merge=lfs -text
37
  docs/media/said_demo_3.mp4 filter=lfs diff=lfs merge=lfs -text
 
 
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  docs/media/said_demo_1.mp4 filter=lfs diff=lfs merge=lfs -text
37
  docs/media/said_demo_3.mp4 filter=lfs diff=lfs merge=lfs -text
38
+ docs/media/audio2sph_demo_1.mp4 filter=lfs diff=lfs merge=lfs -text
39
+ docs/media/audio2sph_demo_3.mp4 filter=lfs diff=lfs merge=lfs -text
LICENSES/README.md CHANGED
@@ -12,6 +12,7 @@ maps each external component to its source, revision, use in SAID, and license.
12
  |---|---|---|
13
  | SAID (PaSST) checkpoint | Separate non-commercial research release | Governed by the SAID Model Weights Non-Commercial Research License 1.0 for rights held by Runbang Wang, together with all applicable upstream terms and the PaSST checkpoint card |
14
  | SAID (AudioMAE) checkpoint | Separate non-commercial research release | Governed by the SAID Model Weights Non-Commercial Research License 1.0 for rights held by Runbang Wang; the stricter CC BY-NC 4.0 status and attribution notice are applied to the incorporated AudioMAE asset |
 
15
  | DCASE data and labels | Not distributed | STAIRS26 and STARSS23 official deposits declare MIT for the cited versions; users obtain the data from the official distribution and retain its notices |
16
  | CSTR VCTK Corpus 0.80 | Not distributed; used to train the paper checkpoints | Contains information from the CSTR VCTK Corpus, made available under the ODC Attribution License 1.0, <http://opendatacommons.org/licenses/by/1.0/>; official corpus record: <https://datashare.ed.ac.uk/handle/10283/2651> |
17
  | MUSDB18-HQ, FSD50K, and FSDKaggle2018 | Not distributed; used to train the paper checkpoints | Source terms and selected-source counts are provided in [`TRAINING_DATA.md`](TRAINING_DATA.md); the complete attribution record accompanies each checkpoint bundle |
@@ -30,7 +31,7 @@ not replace or enlarge any third-party permission. Original training data are
30
  not included with the checkpoints.
31
 
32
  The MIT-licensed SAID software may be used independently of these paper
33
- checkpoints. Commercial use of either official paper checkpoint, including a
34
  modified or fine-tuned derivative, is prohibited. A user may instead train a
35
  new model with the SAID software and independently obtained components and
36
  training data that permit the intended commercial use. The permissions for
 
12
  |---|---|---|
13
  | SAID (PaSST) checkpoint | Separate non-commercial research release | Governed by the SAID Model Weights Non-Commercial Research License 1.0 for rights held by Runbang Wang, together with all applicable upstream terms and the PaSST checkpoint card |
14
  | SAID (AudioMAE) checkpoint | Separate non-commercial research release | Governed by the SAID Model Weights Non-Commercial Research License 1.0 for rights held by Runbang Wang; the stricter CC BY-NC 4.0 status and attribution notice are applied to the incorporated AudioMAE asset |
15
+ | Audio2Sph + Panoramic Decoder checkpoint | Separate non-commercial research release | Governed by the SAID Model Weights Non-Commercial Research License 1.0 for rights held by Runbang Wang, together with the VCTK produced-work notice and applicable ConvNeXt/NESD terms |
16
  | DCASE data and labels | Not distributed | STAIRS26 and STARSS23 official deposits declare MIT for the cited versions; users obtain the data from the official distribution and retain its notices |
17
  | CSTR VCTK Corpus 0.80 | Not distributed; used to train the paper checkpoints | Contains information from the CSTR VCTK Corpus, made available under the ODC Attribution License 1.0, <http://opendatacommons.org/licenses/by/1.0/>; official corpus record: <https://datashare.ed.ac.uk/handle/10283/2651> |
18
  | MUSDB18-HQ, FSD50K, and FSDKaggle2018 | Not distributed; used to train the paper checkpoints | Source terms and selected-source counts are provided in [`TRAINING_DATA.md`](TRAINING_DATA.md); the complete attribution record accompanies each checkpoint bundle |
 
31
  not included with the checkpoints.
32
 
33
  The MIT-licensed SAID software may be used independently of these paper
34
+ checkpoints. Commercial use of any published checkpoint, including a
35
  modified or fine-tuned derivative, is prohibited. A user may instead train a
36
  new model with the SAID software and independently obtained components and
37
  training data that permit the intended commercial use. The permissions for
LICENSES/TRAINING_DATA.md CHANGED
@@ -1,12 +1,12 @@
1
  # Paper-checkpoint training-data notices
2
 
3
  This document records the training-data boundary for the official SAID
4
- (PaSST) and SAID (AudioMAE) paper checkpoints. The software includes four
5
  documented 20-second STAIRS26/STARSS23 demonstration excerpts. It includes no
6
  complete source recording, training collection, SourceBank manifest, or
7
  dataset archive.
8
 
9
- Both paper checkpoints are distributed for non-commercial research use only.
10
  The SAID software can be used separately to train independent weights with
11
  model components and datasets selected by the user for their intended use.
12
 
@@ -96,7 +96,7 @@ The dataset files and labels are not redistributed by SAID.
96
 
97
  ## Commercial training
98
 
99
- The official paper checkpoints and derivatives of them are not licensed for
100
  commercial use. A commercial user may train independent weights with the SAID
101
  software after selecting a Class Feature Encoder, initialization, and training
102
  corpora whose licenses permit that user's intended commercial activity.
 
1
  # Paper-checkpoint training-data notices
2
 
3
  This document records the training-data boundary for the official SAID
4
+ (PaSST), SAID (AudioMAE), and Audio2Sph + Panoramic Decoder checkpoints. The software includes four
5
  documented 20-second STAIRS26/STARSS23 demonstration excerpts. It includes no
6
  complete source recording, training collection, SourceBank manifest, or
7
  dataset archive.
8
 
9
+ All three checkpoints are distributed for non-commercial research use only.
10
  The SAID software can be used separately to train independent weights with
11
  model components and datasets selected by the user for their intended use.
12
 
 
96
 
97
  ## Commercial training
98
 
99
+ The published checkpoints and derivatives of them are not licensed for
100
  commercial use. A commercial user may train independent weights with the SAID
101
  software after selecting a Class Feature Encoder, initialization, and training
102
  corpora whose licenses permit that user's intended commercial activity.
README.md CHANGED
@@ -1,15 +1,3 @@
1
- ---
2
- license: other
3
- license_name: said-model-weights-noncommercial-1.0
4
- license_link: https://huggingface.co/IN03X/SAID/blob/main/LICENSES/SAID-Model-Weights-NonCommercial-1.0.txt
5
- library_name: pytorch
6
- tags:
7
- - audio
8
- - semantic-acoustic-imaging
9
- - sound-event-localization-and-detection
10
- - dcase2026
11
- ---
12
-
13
  # SAID: Semantic Acoustic Imaging Detector for Sound Event Localization and Detection
14
 
15
  SAID predicts a separate **labeled acoustic map** for every active sound source
@@ -45,6 +33,18 @@ legend, colors, and display scale.
45
 
46
  [Open Demo 3 as MP4](docs/media/said_demo_3.mp4)
47
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  ## Results
49
 
50
  ### DCASE2026 Task 3 Track A evaluation set
@@ -70,19 +70,22 @@ Macro Class-F1 measures classification for spatial matches within 20°.
70
 
71
  ## Quick start
72
 
73
- SAID requires Python 3.10 or later. Install the project from the repository
74
  root:
75
 
76
  ```bash
77
  pip install -e .
78
  ```
79
 
80
- The paper release contains two complete checkpoints:
 
81
 
82
  - [`said_passt.ckpt`](https://huggingface.co/IN03X/SAID/resolve/main/said_passt.ckpt)
83
  for SAID (PaSST), the default model;
84
  - [`said_audiomae.ckpt`](https://huggingface.co/IN03X/SAID/resolve/main/said_audiomae.ckpt)
85
- for SAID (AudioMAE).
 
 
86
 
87
  ### Run the four demos
88
 
@@ -95,6 +98,16 @@ This command produces `said_demo_1.mp4` through `said_demo_4.mp4` in
95
  side by side over a synchronized 360-degree scene. The four licensed demo
96
  inputs are included in the release.
97
 
 
 
 
 
 
 
 
 
 
 
98
  ### Run inference
99
 
100
  ```bash
@@ -113,6 +126,16 @@ Select SAID (AudioMAE) with:
113
  said infer recording.wav --model audiomae
114
  ```
115
 
 
 
 
 
 
 
 
 
 
 
116
  See [Inference](docs/inference.md) for recording-domain selection,
117
  visualization, output fields, and the Python API.
118
 
@@ -133,10 +156,11 @@ protocol, reusable predictions, and metric definitions.
133
 
134
  ## Paper checkpoints
135
 
136
- The complete paper checkpoints are fingerprinted and loaded with strict schema,
137
  shape, dtype, size, and SHA256 verification. Their identities and provenance
138
  are documented in the [SAID (PaSST) checkpoint card](docs/checkpoints/said_passt.md)
139
- and [SAID (AudioMAE) checkpoint card](docs/checkpoints/said_audiomae.md).
 
140
  The CLI downloads a selected checkpoint from the
141
  [official Hugging Face repository](https://huggingface.co/IN03X/SAID) on first
142
  use and stores it in the repository-root `checkpoints/` directory.
@@ -219,7 +243,7 @@ Command-specific options are also available through `said COMMAND --help`.
219
  ## License
220
 
221
  Original SAID software and documentation are released under the
222
- [MIT License](LICENSE). The two official paper checkpoints are distributed for
223
  non-commercial research. Third-party implementations, pretrained components,
224
  datasets, demo media, and the official evaluator retain their corresponding
225
  terms. The complete attribution and license boundaries are recorded in
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # SAID: Semantic Acoustic Imaging Detector for Sound Event Localization and Detection
2
 
3
  SAID predicts a separate **labeled acoustic map** for every active sound source
 
33
 
34
  [Open Demo 3 as MP4](docs/media/said_demo_3.mp4)
35
 
36
+ ### Class-agnostic Audio2Sph demo — TAU scene
37
+
38
+ <video src="https://huggingface.co/IN03X/SAID/resolve/main/docs/media/audio2sph_demo_1.mp4" controls playsinline preload="metadata" width="100%"></video>
39
+
40
+ [Open the class-agnostic TAU demo as MP4](docs/media/audio2sph_demo_1.mp4)
41
+
42
+ ### Class-agnostic Audio2Sph demo — Sony scene
43
+
44
+ <video src="https://huggingface.co/IN03X/SAID/resolve/main/docs/media/audio2sph_demo_3.mp4" controls playsinline preload="metadata" width="100%"></video>
45
+
46
+ [Open the class-agnostic Sony demo as MP4](docs/media/audio2sph_demo_3.mp4)
47
+
48
  ## Results
49
 
50
  ### DCASE2026 Task 3 Track A evaluation set
 
70
 
71
  ## Quick start
72
 
73
+ SAID supports Python 3.10 through 3.12. Install the project from the repository
74
  root:
75
 
76
  ```bash
77
  pip install -e .
78
  ```
79
 
80
+ The release contains two complete SAID checkpoints and the paper's
81
+ class-agnostic Audio2Sph checkpoint:
82
 
83
  - [`said_passt.ckpt`](https://huggingface.co/IN03X/SAID/resolve/main/said_passt.ckpt)
84
  for SAID (PaSST), the default model;
85
  - [`said_audiomae.ckpt`](https://huggingface.co/IN03X/SAID/resolve/main/said_audiomae.ckpt)
86
+ for SAID (AudioMAE);
87
+ - [`audio2sph.ckpt`](https://huggingface.co/IN03X/SAID/resolve/main/audio2sph.ckpt)
88
+ for Audio2Sph + Panoramic Decoder.
89
 
90
  ### Run the four demos
91
 
 
98
  side by side over a synchronized 360-degree scene. The four licensed demo
99
  inputs are included in the release.
100
 
101
+ The corresponding class-agnostic comparisons use the same four scenes and
102
+ show the merged acoustic field without class labels:
103
+
104
+ ```bash
105
+ said demo --model audio2sph
106
+ ```
107
+
108
+ This command writes `audio2sph_demo_1.mp4` through
109
+ `audio2sph_demo_4.mp4` in `audio2sph_demo_output/`.
110
+
111
  ### Run inference
112
 
113
  ```bash
 
126
  said infer recording.wav --model audiomae
127
  ```
128
 
129
+ Run the published Audio2Sph and Panoramic Decoder without Sph2Imaging or a
130
+ Class Feature Encoder with:
131
+
132
+ ```bash
133
+ said infer recording.wav --model audio2sph
134
+ ```
135
+
136
+ This route writes dense class-agnostic 180×360 maps at the native 100 Hz time
137
+ base.
138
+
139
  See [Inference](docs/inference.md) for recording-domain selection,
140
  visualization, output fields, and the Python API.
141
 
 
156
 
157
  ## Paper checkpoints
158
 
159
+ All three published checkpoints are fingerprinted and loaded with strict schema,
160
  shape, dtype, size, and SHA256 verification. Their identities and provenance
161
  are documented in the [SAID (PaSST) checkpoint card](docs/checkpoints/said_passt.md)
162
+ and [SAID (AudioMAE) checkpoint card](docs/checkpoints/said_audiomae.md), and
163
+ the [Audio2Sph checkpoint card](docs/checkpoints/audio2sph.md).
164
  The CLI downloads a selected checkpoint from the
165
  [official Hugging Face repository](https://huggingface.co/IN03X/SAID) on first
166
  use and stores it in the repository-root `checkpoints/` directory.
 
243
  ## License
244
 
245
  Original SAID software and documentation are released under the
246
+ [MIT License](LICENSE). The three published checkpoints are distributed for
247
  non-commercial research. Third-party implementations, pretrained components,
248
  datasets, demo media, and the official evaluator retain their corresponding
249
  terms. The complete attribution and license boundaries are recorded in
SHA256SUMS CHANGED
@@ -1,2 +1,3 @@
1
  85b72bd4a0749dd4ca080ddea30eba68a903af465d916408a03e21912609ca1b said_passt.ckpt
2
  018f9d05bfa681456334811abe6e62c59331a0a8f4313eb763e5c32b0148c626 said_audiomae.ckpt
 
 
1
  85b72bd4a0749dd4ca080ddea30eba68a903af465d916408a03e21912609ca1b said_passt.ckpt
2
  018f9d05bfa681456334811abe6e62c59331a0a8f4313eb763e5c32b0148c626 said_audiomae.ckpt
3
+ bd4c2c44e24d4c207785a46cfc95efffc3f9a7a9a357d4563553a886be0b917b audio2sph.ckpt
THIRD_PARTY_NOTICES.md CHANGED
@@ -172,7 +172,7 @@ separate distribution terms recorded in `LICENSES/README.md`.
172
  and Demo 3; the source and wheel include all four excerpt inputs for local
173
  generation. Complete recordings remain with the official dataset releases.
174
 
175
- ## Paper-checkpoint training sources
176
 
177
  The complete paper checkpoints were trained with locally obtained VCTK 0.80,
178
  MUSDB18-HQ, FSD50K, FSDKaggle2018, STAIRS26, and STARSS23 materials. Apart from
@@ -182,7 +182,11 @@ Dataset-level notices, selected-source license counts, and source attribution
182
  records are provided in `LICENSES/TRAINING_DATA.md` and in each separately
183
  distributed checkpoint bundle.
184
 
185
- The official paper checkpoints are distributed for non-commercial research
 
 
 
 
186
  only. This restriction also applies to modified or fine-tuned weights derived
187
  from them. Independent models trained with the SAID software are governed by
188
  the components and data selected for those independent runs.
 
172
  and Demo 3; the source and wheel include all four excerpt inputs for local
173
  generation. Complete recordings remain with the official dataset releases.
174
 
175
+ ## Published-checkpoint training sources
176
 
177
  The complete paper checkpoints were trained with locally obtained VCTK 0.80,
178
  MUSDB18-HQ, FSD50K, FSDKaggle2018, STAIRS26, and STARSS23 materials. Apart from
 
182
  records are provided in `LICENSES/TRAINING_DATA.md` and in each separately
183
  distributed checkpoint bundle.
184
 
185
+ The class-agnostic Audio2Sph + Panoramic Decoder checkpoint used only VCTK
186
+ 0.80 sources and Online Scene Generation. It contains no Class Feature
187
+ Encoder, SourceBank class labels, or DCASE fine-tuning parameters.
188
+
189
+ The published checkpoints are distributed for non-commercial research
190
  only. This restriction also applies to modified or fine-tuned weights derived
191
  from them. Independent models trained with the SAID software are governed by
192
  the components and data selected for those independent runs.
audio2sph.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd4c2c44e24d4c207785a46cfc95efffc3f9a7a9a357d4563553a886be0b917b
3
+ size 110233837
docs/checkpoints/audio2sph.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Audio2Sph + Panoramic Decoder checkpoint card
2
+
3
+ ## Intended use
4
+
5
+ This checkpoint is the paper's class-agnostic acoustic-imaging model. It maps
6
+ four selected Eigenmike capsule signals to one 180×360 acoustic field at the
7
+ native 100 Hz time base. It contains Audio2Sph and the Panoramic Decoder; it
8
+ does not contain Sph2Imaging, a Class Feature Encoder, or class predictions.
9
+
10
+ ## Identity
11
+
12
+ - Canonical filename: `audio2sph.ckpt`
13
+ - Format: flat exponential-moving-average PyTorch state dictionary
14
+ - Size: 110,233,837 bytes
15
+ - SHA256: `bd4c2c44e24d4c207785a46cfc95efffc3f9a7a9a357d4563553a886be0b917b`
16
+ - Tensors: 245 total; 233 Audio2Sph and 12 Panoramic Decoder
17
+ - Input representation: STFT log magnitude, sine phase, and cosine phase
18
+
19
+ The public loader verifies the size, SHA256, component counts, tensor keys,
20
+ shapes, and dtypes before strict loading.
21
+
22
+ ## Training provenance
23
+
24
+ The checkpoint is the final EMA weight of the paper's Audio2Sph pretraining
25
+ route after approximately 2.5 million optimizer updates with the published
26
+ magnitude-and-phase input representation. Training used two-second, 48 kHz
27
+ four-channel Eigenmike scenes rendered online from VCTK 0.80 speech with
28
+ shoebox image-source simulation. The target at every time position is the
29
+ pixelwise maximum of all active source maps.
30
+
31
+ The fixed 1,024-scene spatial audit reported AP@GT0.5 of `0.874168` for this
32
+ checkpoint. This is a class-agnostic simulated-scene spatial metric and is not
33
+ a DCASE semantic mAP result.
34
+
35
+ ## Input and output contract
36
+
37
+ The model accepts Eigenmike capsules `[6, 10, 26, 22]` at 48 kHz in two-second
38
+ windows. The Panoramic Decoder produces 201 endpoint-inclusive maps per window.
39
+ Complete-recording inference omits each window endpoint before concatenation,
40
+ yielding continuous 100 Hz frame starts. Output values are sigmoid probabilities
41
+ in `[0,1]` and use the same spherical coordinates as complete SAID maps.
42
+
43
+ ## Distribution and license
44
+
45
+ The checkpoint is distributed for non-commercial research under the
46
+ [SAID Model Weights Non-Commercial Research License 1.0](../../LICENSES/SAID-Model-Weights-NonCommercial-1.0.txt)
47
+ for rights held by Runbang Wang, together with applicable upstream terms. It
48
+ contains information from the CSTR VCTK Corpus 0.80, made available under the
49
+ Open Data Commons Attribution License 1.0. The corpus is copyright 2012,
50
+ Centre for Speech Technology Research, University of Edinburgh, and was
51
+ constructed by Christophe Veaux, Junichi Yamagishi, and Kirsten MacDonald.
52
+ Training recordings are not distributed with the checkpoint.
53
+
54
+ ConvNeXt and NESD-derived software attribution and exact source revisions are
55
+ recorded in [`THIRD_PARTY_NOTICES.md`](../../THIRD_PARTY_NOTICES.md).
docs/inference.md CHANGED
@@ -11,6 +11,19 @@ said demo --model passt
11
  said demo --model audiomae
12
  ```
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  The command writes four synchronized comparison videos:
15
 
16
  ```text
@@ -50,6 +63,7 @@ PaSST is selected by default. The same model selector applies to recordings:
50
  ```bash
51
  said infer recording.wav --model passt
52
  said infer recording.wav --model audiomae
 
53
  ```
54
 
55
  The default location is the repository-root `checkpoints/` directory.
@@ -70,6 +84,14 @@ are concatenated, yielding a continuous 10 fps output. A partial final window
70
  is zero-padded. Output frame `k` begins at `k / 10` seconds, and every frame
71
  whose start is earlier than the recording duration is retained.
72
 
 
 
 
 
 
 
 
 
73
  The default output is a private, lossless `said-prediction-archive-v1`
74
  directory for SAID inference and visualization. It is distinct from standard
75
  DCASE JSON. Its
@@ -132,6 +154,21 @@ for chunk in predictor.predict(audio, recording_domain=RecordingDomain.SONY):
132
  print(chunk.slot_confidence.shape) # [frames,16]
133
  ```
134
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  The iterator returns each prediction window after it is computed and therefore
136
  does not retain the complete set of predicted maps. The audio loader currently
137
  loads the input recording before segmented inference.
 
11
  said demo --model audiomae
12
  ```
13
 
14
+ Generate the class-agnostic Audio2Sph comparisons with:
15
+
16
+ ```bash
17
+ said demo --model audio2sph
18
+ ```
19
+
20
+ This writes `audio2sph_demo_output/audio2sph_demo_1.mp4` through
21
+ `audio2sph_demo_4.mp4`. Each video merges the official per-source Ground Truth
22
+ maps by a pixelwise maximum on the left and shows the Audio2Sph + Panoramic
23
+ Decoder prediction on the right. Both sides use one fixed zero-to-one display
24
+ scale and contain no class legend. The generated files are 20 seconds,
25
+ 1920×568, H.264 video with 48 kHz stereo AAC audio.
26
+
27
  The command writes four synchronized comparison videos:
28
 
29
  ```text
 
63
  ```bash
64
  said infer recording.wav --model passt
65
  said infer recording.wav --model audiomae
66
+ said infer recording.wav --model audio2sph
67
  ```
68
 
69
  The default location is the repository-root `checkpoints/` directory.
 
84
  is zero-padded. Output frame `k` begins at `k / 10` seconds, and every frame
85
  whose start is earlier than the recording duration is retained.
86
 
87
+ Audio2Sph inference uses the same two-second segmentation and boundary rule at
88
+ its native 100 Hz time base. Each window produces 201 positions; the endpoint
89
+ is omitted before concatenation, yielding 200 non-overlapping frame starts per
90
+ two-second window. Its `audio2sph-prediction-archive-v1` chunks contain one
91
+ dense float32 `map` array with shape `[frames,180,360]`. The archive is
92
+ class-agnostic and therefore contains no class ID, confidence, or recording
93
+ domain.
94
+
95
  The default output is a private, lossless `said-prediction-archive-v1`
96
  directory for SAID inference and visualization. It is distinct from standard
97
  DCASE JSON. Its
 
154
  print(chunk.slot_confidence.shape) # [frames,16]
155
  ```
156
 
157
+ The class-agnostic API uses the published pretraining wrapper:
158
+
159
+ ```python
160
+ from said import Audio2SphPretrainingModel, load_audio2sph_pretraining_checkpoint
161
+ from said.inference import Audio2SphPredictor, load_eigenmike_audio
162
+
163
+ model = Audio2SphPretrainingModel()
164
+ load_audio2sph_pretraining_checkpoint(model, "/path/to/audio2sph.ckpt")
165
+ audio = load_eigenmike_audio("recording.wav")
166
+ predictor = Audio2SphPredictor(model, device="cuda")
167
+
168
+ for chunk in predictor.predict(audio):
169
+ print(chunk.frame_start, chunk.frame_stop, chunk.maps.shape)
170
+ ```
171
+
172
  The iterator returns each prediction window after it is computed and therefore
173
  does not retain the complete set of predicted maps. The audio loader currently
174
  loads the input recording before segmented inference.
docs/media/audio2sph_demo_1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ede1a90d69bceb351f3c4334e3b64c9dd835b725ea026856b187105f8a53797
3
+ size 2388792
docs/media/audio2sph_demo_3.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48800812323b9c897bbaa5963b4cb5c3875449cfc8d4d9abe68a3fb191d4ad7a
3
+ size 2665008
docs/model_architecture.md CHANGED
@@ -123,9 +123,10 @@ Audio2SphPretrainingModel
123
  The Panoramic Decoder reads Y0 directly, bypassing Time Alignment, and restores
124
  the STFT frame count after spatial decoding. Complete SAID removes the
125
  Panoramic Decoder and passes the time-aligned Panoramic Features to
126
- Sph2Imaging. `load_audio2sph_pretraining_checkpoint` applies the same file
127
- fingerprint, submitted-schema, tensor shape/dtype, and strict-load checks as
128
- the complete-model loader.
 
129
 
130
  ## Submitted checkpoint compatibility
131
 
 
123
  The Panoramic Decoder reads Y0 directly, bypassing Time Alignment, and restores
124
  the STFT frame count after spatial decoding. Complete SAID removes the
125
  Panoramic Decoder and passes the time-aligned Panoramic Features to
126
+ Sph2Imaging. The published `audio2sph.ckpt` contains all 233 Audio2Sph tensors
127
+ and all 12 Panoramic Decoder tensors. `load_audio2sph_pretraining_checkpoint`
128
+ applies the same file fingerprint, submitted-schema, tensor shape/dtype, and
129
+ strict-load checks as the complete-model loader.
130
 
131
  ## Submitted checkpoint compatibility
132
 
docs/training.md CHANGED
@@ -68,8 +68,8 @@ selection; its configured endpoint and retained milestones are evaluated after
68
  training. The current state is written to `latest.ema.ckpt`, and the complete
69
  resumable state to `latest.training.pt`. Validation-enabled recipes also write
70
  `best.ema.ckpt` and `best.json`. Retained milestone steps include both EMA and
71
- training-state checkpoints. `latest` is the default inter-stage handoff;
72
- `best` is a validation diagnostic for the stages that enable it.
73
 
74
  Online Scene Generation uses the renderer dependencies:
75
 
 
68
  training. The current state is written to `latest.ema.ckpt`, and the complete
69
  resumable state to `latest.training.pt`. Validation-enabled recipes also write
70
  `best.ema.ckpt` and `best.json`. Retained milestone steps include both EMA and
71
+ training-state checkpoints. `latest` is the default handoff between training
72
+ phases; `best` is a validation diagnostic when validation is enabled.
73
 
74
  Online Scene Generation uses the renderer dependencies:
75