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

Can't convert some OPs in my TF2 model #1870

Open
sniper0110 opened this issue Feb 28, 2022 · 1 comment
Open

Can't convert some OPs in my TF2 model #1870

sniper0110 opened this issue Feb 28, 2022 · 1 comment
Labels
unsupported ops Issues related to unsupported operators

Comments

@sniper0110
Copy link

Describe the bug
I'm trying to convert a tensorflow 2 model to onnx and although I get a model at the end, I just can't use it because some of the OPs were not converted to onnx.

Urgency
Very important to get it to work soon.

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows
  • Tensorflow Version: 2.8
  • Python version: 3.8

To Reproduce
I ran the command :
python -m tf2onnx.convert --saved-model model_v0 --opset 15 --output model_v0.onnx
The model that I used is model_v0.zip

Additional context
The exact errors that I got are these:
ERROR - Tensorflow op [StatefulPartitionedCall/attend_copy_parse_model/mul: SparseDenseCwiseMul] is not supported
ERROR - Tensorflow op [StatefulPartitionedCall/attend_copy_parse_model/SparseReduceSum: SparseReduceSum] is not supported
ERROR - Unsupported ops: Counter({'SparseDenseCwiseMul': 1, 'SparseReduceSum': 1})

Thanks in advance!

@hwangdeyu hwangdeyu added the unsupported ops Issues related to unsupported operators label Mar 4, 2022
@fatcat-z fatcat-z added pending on user response Waiting for more information or validation from user unsupported ops Issues related to unsupported operators and removed unsupported ops Issues related to unsupported operators pending on user response Waiting for more information or validation from user labels Mar 9, 2022
@debjyoti003
Copy link

Same, I am also facing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unsupported ops Issues related to unsupported operators
Projects
None yet
Development

No branches or pull requests

4 participants