You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run the quantized bert-tiny ONNX model based on the VOE of ZCU102, through the C++ API. There is an error of "indices element out of data bounds". I don't think there is any problem with the input tensor. Is there any incompatibility problem?
2025-01-06 17:12:16.610315550 [E:onnxruntime:, sequential_executor.cc:369 Execute] Non-zero status code returned while running Gather node. Name:'Gather_31' Status Message: indices element out of data bounds, idx=281472786415824 must be within the inclusive range [-2,1]
terminate called after throwing an instance of 'Ort::Exception'
what(): Non-zero status code returned while running Gather node. Name:'Gather_31' Status Message: indices element out of data bounds, idx=281472786415824 must be within the inclusive range [-2,1]
Aborted
Model in Netron
Tried
Print the value of debugging indices(that is, input_2). Check without error
Re-train bert-tiny, quantify, transform ONNX, and run again. Still reporting the error
Check .onnx model by onnx.checker.check_model(). Check without error
The text was updated successfully, but these errors were encountered:
I am trying to run the quantized bert-tiny ONNX model based on the VOE of ZCU102, through the C++ API. There is an error of "indices element out of data bounds". I don't think there is any problem with the input tensor. Is there any incompatibility problem?
Environment
Error
Gather Node indices element out of data bounds
Model in Netron
Tried
Print the value of debugging indices(that is, input_2). Check without error
Re-train bert-tiny, quantify, transform ONNX, and run again. Still reporting the error
Check .onnx model by
onnx.checker.check_model()
. Check without errorThe text was updated successfully, but these errors were encountered: