In this page, The onnx model doesn't support batch inference.
2019-10-18 17:35:26,523 - __main__ - WARNING - Frames not aligned, number of frames 214271 and got ending segment 214271
2019-10-18 17:35:26,523 - vbdiar.kaldi.onnx_xvector_extraction - INFO - Extracting x-vectors from 1280 segments.
2019-10-18 17:35:26.524001380 [W:onnxruntime:Default, inference_session.cc:595 CheckShapes] Got invalid dimensions for input: 0 for the following indices
index: 2 Got: 187 Expected: 100
Please fix either the inputs or the model.
2019-10-18 17:35:26.768832124 [W:onnxruntime:Default, inference_session.cc:595 CheckShapes] Got invalid dimensions for input: 0 for the following indices
index: 2 Got: 188 Expected: 100
Please fix either the inputs or the model.
2019-10-18 17:35:27.148224041 [W:onnxruntime:Default, inference_session.cc:595 CheckShapes] Got invalid dimensions for input: 0 for the following indices
index: 2 Got: 187 Expected: 100
Please fix either the inputs or the model.
2019-10-18 17:35:27.269439467 [W:onnxruntime:Default, inference_session.cc:595 CheckShapes] Got invalid dimensions for input: 0 for the following indices
index: 2 Got: 188 Expected: 100
Please fix either the inputs or the model.
2019-10-18 17:35:27.585364974 [W:onnxruntime:Default, inference_session.cc:595 CheckShapes] Got invalid dimensions for input: 0 for the following indices
index: 2 Got: 172 Expected: 100
I think it should be fine, it is only warning about the size of the input, which I hardcoded as 100. I haven't seen this warning in onnxruntime==0.3.0, try to downgrade maybe.
I got a messages like below.
Can I ignore the warning?
In this page, The onnx model doesn't support batch inference.