using onnx model for language identification inference
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. This issue was closed because it has been inactive for 7 days since being marked as stale.
hi,
I have export the language identification model to onnx and I want to use it for inference.
how should I use this model for inference on an audio file?
how should be the format of my audio input?
is there any example or tutorial?
after using the following code:


```
import nemo
import nemo.collections.asr as nemo_asr
vad_model = nemo_asr.models.EncDecSpeakerLabelModel.from_pretrained(model_name="langid_ambernet")
vad_model.export('qn.onnx')
ort_session = onnxruntime.InferenceSession('qn.onnx')
ttt = torch.rand(1,80,8000)    
outputs = ort_session.run(None, {ort_session.get_inputs()[0].name:to_numpy(ttt)})
```



i get this error:


```
ValueError                               Traceback (most recent call last)
[<ipython-input-64-4dddcd66c01b>](https://localhost:8080/#) in <cell line: 1>()
----> 1 onnx_outputs = ort_session.run(None, {ort_session.get_inputs()[0].name:to_numpy(ttt)})
[usr/local/lib/python3.10/dist-packages/onnxruntime/capi/onnxruntime_inference_collection.py](https://localhost:8080/#) in _validate_input(self, feed_input_names)
    196                 missing_input_names.append(input.name)
    197         if missing_input_names:
--> 198             raise ValueError(
    199                 f"Required inputs ({missing_input_names}) are missing from input feed ({feed_input_names})."
    200             )

ValueError: Required inputs (['length']) are missing from input feed (['audio_signal']).
```

and how map the output embedding to labels?


any help is really appreciated.
thanks