onnx-tensorflow
onnx-tensorflow copied to clipboard
{'error': 'indices = 1 is not in [0, 1)\n\t [[{{function_node __inference___call___5783}}{{node onnx_tf_prefix_Gather_10}}]]'}
Describe the bug
When using PB model to load locally, it can be predicted normally, but TF serving reports an error,as follow: {'error': 'indices = 1 is not in [0, 1)\n\t [[{{function_node __inference___call___5783}}{{node onnx_tf_prefix_Gather_10}}]]'}
To Reproduce
check vesion is not work
A self-contained piece of code that can demonstrate the problem is required.
Please do not expect us to have PyTorch, Caffe2 installed.
If a model exported from PyTorch and Caffe2 is having trouble in ONNX-TF, use the next section to attach the model.
ONNX model file
If applicable, attach the onnx model file in question using Gist, DropBox or Google Drive.
Python, ONNX, ONNX-TF, Tensorflow version
This section can be obtained by running get_version.py
from util folder.
- Python version: 3.8
- ONNX version: 1.10.2
- ONNX-TF version:1.10.0
- Tensorflow version: 2.8.0
Additional context
Add any other context about the problem here.