ONNX runtime is not returing zero vectors #15268
Unanswered
thejishnunair
asked this question in
Other Q&A
Replies: 1 comment
-
Please file this as an issue and follow the issue template. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks,
I have trained a TFIDF model using scikit-learn and converted it into onnx format. Now when I try to do a batch inference using the onnx model, for records which do not match with the vocabulary of the TFIDF model, it is not returning the zero vector. For example, if 1000 records are being as input, the output is of size 997 vectors. 3 records were zero vectors but were not being returned as part of the inference.
Any idea how to resolve this issue?
Beta Was this translation helpful? Give feedback.
All reactions