Skip to main content

Audio Classification — Export & Deploy

The Export & Deploy tab is organised into five panels: Posterior Parameters, Local Model, Global Model Files, Package Config, and Synpkg Tools.

Posterior Parameters

ModeDescription
Grid SearchSweeps all Smoothing × PH Window × PH Threshold combinations automatically. Best combination embedded in .synpkg. Recommended.
Per-Class (Manual)Assign values per class manually. No search was performed.
ParameterDescription
SmoothingList e.g. [1, 3]. Larger values suppress short transients but increase latency. Default: [1, 3]
PH WindowList e.g. [1, 3]. Longer windows require more sustained score elevation. Default: [1, 3]
PH ThresholdList of floats e.g. [0.9, 0.95, 0.99]. Higher = fewer false positives. Default: [0.9, 0.95, 0.99]

Always click Save Settings after any change before proceeding to conversion.

Local Model

Converts a locally trained .h5 model to a .synpkg. Browse to the .h5 file, select Project Type (Audio Classification or Time Series Classification), then click "Convert to .synpkg".

Export & Deploy — Local Model Panel

TIP

Save Posterior Parameters before converting — those settings are embedded into the .synpkg.

Global Model Files

Export & Deploy — Global Model Files Panel

Input FilePurpose
Global Model (.h5)Neural network weights for an externally trained model
X Data (x.npy)Feature array — verifies input dimensions
Y Data (y.npy)Label array — provides class mapping for the output package
IMPORTANT

All three files must be selected. Mismatched feature dimensions will cause conversion to fail.

Package Config

Rebuilds an existing .synpkg targeting a specific SDK version (integer, e.g. 114). Use when deploying to devices running a different firmware release.

Synpkg Tools

OptionDescription
Use local model output (.synpkg)Auto-uses the .synpkg from Local Model conversion
Browse .synpkgOpens a file browser to select any .synpkg
NOTE

Print outputs a human-readable metadata summary. Extract unpacks binary sections into individual files — useful for inspecting model weights, label maps, and config blobs.

Step-by-Step Workflow

  1. Open Export & Deploy Tab
  2. Set Posterior Parameters mode and values → click Save Settings
  3. Local model: browse to .h5 → click Convert to .synpkg
  4. Global model: browse to .h5, x.npy, y.npy → click Convert to .synpkg
  5. Optionally use Synpkg Tools to inspect or extract the output
  6. Monitor the Logs panel throughout