79082790

Date: 2024-10-13 09:17:01
Score: 0.5
Natty:
Report link

snpe-tflite-to-dlc
--input_network sam-samdecoder.tflite
--input_dim image_embeddings "1,256,64,64"
--input_dim point_coords "1,1,2"
--input_dim point_labels "1,1"
--input_dim mask_input "1,1,256,256"
--input_dim has_mask_input "1"
--output_path sam.dlc 2024-10-13 17:09:27,860 - 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'

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: fangxiong chen