Open mbencer opened 3 years ago
does the opset10 version from the zoo work? any reason you need 8?
I think that expected data from model zoo are incorrect for berstsquad-8 (I run it using other frameworks). It is topic connected with https://github.com/microsoft/onnxruntime/issues/6429. I want to update this expected data in model zoo but as I understand I should use onnxruntime for it.
@faxu @mbencer I am attempting to summarize the issues of using bertsquad-10 test input and output data to help evaluate the bertsquad-10 inference
I have not checked the bertsquad-8 version yet. I would recommend focusing on bertsquad-10 to resolve outstanding issues.
@faxu it is unclear if I have issue with using .NET to inference Bert.onnx, should I post here under OnnxRuntime or OnnxModel which provide the Bert.onnx model.
This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs. If further support is needed, please provide an update and/or more details.
Describe the bug I've tried to run BERT-Squad (opset8) from model zoo (https://github.com/onnx/models/blob/master/text/machine_comprehension/bert-squad/model/bertsquad-8.tar.gz). Unfortunately, I see "INVALID_ARGUMENT : Non-zero status code returned while running Gather node. Name:'bert/embeddings/one_hot' Status Message: indices element out of data bounds, idx=101 must be within the inclusive range [-2,1]" exception during inference.
System information
To Reproduce
Printed exception
If I try to run model using
./onnx_test_runner
it also fails.