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

qti.tvm.error.OpNotImplemented: The following operators are not supported in frontend TFLite: 'GELU' #104

Open
chenxiao521 opened this issue Oct 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chenxiao521
Copy link

snpe-tflite-to-dlc --input_network sam-samencoder.tflite --input_dim "image" 1,1024,1024,3 --output_path samen.dlc
2024-10-13 16:56:14,218 - 230 - ERROR - Encountered Error: The following operators are not supported in frontend TFLite: 'GELU'

Traceback (most recent call last):
File "/opt/qcom/aistack/qairt/2.27.0.240926/bin/x86_64-linux-clang/snpe-tflite-to-dlc", line 52, in main
converter = TFLiteConverterFrontend(args)
File "/opt/qcom/aistack/qairt/2.27.0.240926/lib/python/qti/aisw/converters/tflite/tflite_to_ir.py", line 24, in init
super(TFLiteConverterFrontend, self).init(args,
File "/opt/qcom/aistack/qairt/2.27.0.240926/lib/python/qti/aisw/converters/relay/relay_to_ir.py", line 323, in init
self.importer.convert_to_relay(self.input_model_path,
File "/opt/qcom/aistack/qairt/2.27.0.240926/lib/python/qti/aisw/converters/relay/importers/tflite_importer.py", line 115, in convert_to_relay
self.mod, self.params = tflite_to_relay.from_tflite(tflite_model,
File "/opt/qcom/aistack/qairt/2.27.0.240926/lib/python/qti/tvm/relay/frontend/tflite.py", line 4639, in from_tflite
op_converter.check_unsupported_ops(custom_op_factory)
File "/opt/qcom/aistack/qairt/2.27.0.240926/lib/python/qti/tvm/relay/frontend/tflite.py", line 269, in check_unsupported_ops
raise tvm.error.OpNotImplemented(raise_msg)
qti.tvm.error.OpNotImplemented: The following operators are not supported in frontend TFLite: 'GELU'

@mestrona-3 mestrona-3 added the bug Something isn't working label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants