Skip to content

Segmentation fault core dump when converting tflite model to onnx #1746

@Jerryzhangzhao

Description

@Jerryzhangzhao

Describe the bug
I am converting a tflite model to onnx with tf2onnx, but it causecore dump.
The model is pose_detection.tflite, model link

System information

  • OS Platform and Distribution: Linux Ubuntu 20.04
  • Tensorflow Version: 2.6.0
  • Python version: 3.7.0
  • onnx version: 1.10.1
  • tf2onnx version: 1.10.0/425d8 (installed with pip install git+https://github.com/onnx/tensorflow-onnx)
  • venv: anaconda3

I've also tried on windows10, with anaconda env, the same error.

To Reproduce
with the command line:
python -m tf2onnx.convert --tflite ./pose_detection.tflite --output pose_detection.onnx

Screenshots
If applicable, add screenshots to help explain your problem.
image
The chinese character in above image is "Segmentation fault (core dumped)"

Additional context
The model is about human detection.
model link

Metadata

Metadata

Assignees

No one assigned

    Labels

    unsupported opsIssues related to unsupported operators

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions