onnx export
#2
by anjulRajendraSharma - opened
Hi @yfyeung
I'm trying to export SSL fine-tuned model, getting a few errors related to feature extraction in SSL.
Can you share the ONNX export script that you have used? I didn't find in the icefall repo.
thank you in advance.
If you aim for zipformer-base ASR (finetuned from SSL), you can refer to https://github.com/yfyeung/icefall/blob/master/egs/librispeech/ASR/zipformer/export-onnx.py or https://github.com/yfyeung/icefall/blob/master/egs/librispeech/ASR/zipformer/export-onnx-ctc.py.
Perhaps you should modify them. It's been a long time, and I don't remember if there is an ONNX export script for the SSL recipe.