models icon indicating copy to clipboard operation
models copied to clipboard

Exception while running bertsquad8 models

Open mszhanyi opened this issue 3 years ago • 1 comments

Bug Report

OS: Windows Run with onnxruntime_test_all.exe Error Message:

Invalid Feed Input Name:input1
[  FAILED  ] ModelTests/ModelTest.Run/cpu__models_opset8_download_sample_8_bertsquad8, where GetParam() = L"cpu_..\\models\\opset8\\download_sample_8\\bertsquad8.onnx" (917 ms)

Notes

Any additional information

mszhanyi avatar Sep 27 '22 06:09 mszhanyi

Thanks for catching this. I think probably both input/output have issues for bertsquad8: https://github.com/onnx/models/issues/510. And unfortunately, ORT cannot inference that model to regenerate the test input/output due to Gather node: indices element out of data bounds, idx=2 must be within the inclusive range [-2,1]. We might need to either export the original model to ONNX again or remove bertsquad8 for now.

jcwchen avatar Sep 27 '22 22:09 jcwchen