Skip to content
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

Error in PredictCost() for the op: op: "Softmax" attr #1044

Open
krishnanNuance opened this issue Oct 14, 2022 · 0 comments
Open

Error in PredictCost() for the op: op: "Softmax" attr #1044

krishnanNuance opened this issue Oct 14, 2022 · 0 comments

Comments

@krishnanNuance
Copy link
Contributor

krishnanNuance commented Oct 14, 2022

Describe the bug

The model converted from ONNX to TF on validation returns NaN as result.

To Reproduce

  1. export fairseq's transformer lm model to onnx
  2. export the onnx model to TF
  3. load the saved_model and validate with any src_token value
  4. the output array contains NaN

Python, ONNX, ONNX-TF, Tensorflow version

  • Python version: 1.11.0+cu102
  • ONNX version: 1.10.2
  • ONNX-TF version: 1.10.0 + implementation for squeeze and unsqueeze for opset v 13
  • Tensorflow version: 2.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant