ONNX exports of the USEF-TSE target speaker extraction models from
github.com/ZBang/USEF-TSE.
Two architectures × three training datasets = six exports. All inputs are
8 kHz float32 mono PCM.
The 2 s mixture window is fixed because TF-GridNet bakes unfold constants in
its ONNX graph. Longer audio must be chunked into 2 s windows and the outputs
concatenated.
Generated by
iOS/scripts/export_usef_tse_onnx.py via legacy
TorchScript exporter at opset 17, with TF-GridNet's
torch.stft/
torch.istft
replaced by conv1d/conv_transpose1d-based equivalents (the legacy exporter
rejects complex-typed STFT outputs).
PyTorch ↔ ONNX parity on real 16 kHz audio fixtures (downsampled to 8 kHz for
inference): cosine similarity = 1.000 across all 18 cells; max absolute
difference ≤ 2.2e-3.