-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ONNX model outputs an array of null #90
Comments
Hello. @sidharthg-couture :) Could you please display the ONNX session information? It can be queried via HTTP GET |
Hi, here is the response from the API:
|
Hello, @sidharthg-couture According to the response from the Python code, the shape appears to be
However, the response from the ONNX session API indicates that the shape of
How about modifying the
|
Do you mean |
In your Python code, the shape is specified as |
To make the axes [1] as dynamic, I would have to use
This was the output after trying the suggested |
I have configured my ONNX model (based on stella_400M) to have a fixed batch size for inputs and outputs. It even runs with response 200 on the server.
My issue is the entire output of the result is an array of
null
of size 1024 (which is expected, that is the dimension of the model output). When I use the same ONNX model with the python ONNXRuntime library, it works as expected.Also I created the ONNX model from a Stella-400M model through the following instructions:
I have converted a Stella-400M model to ONNX through the following configuration:
I am running the
kibaes/onnxruntime-server:1.20.1b-linux-cpu
docker image.Would you have any idea why this would be happening? Or any possible fixes?
Thanks!
The text was updated successfully, but these errors were encountered: