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

tflite模型转换tnn,模型转换失败 #1996

Open
wzt1229 opened this issue Sep 23, 2024 · 0 comments
Open

tflite模型转换tnn,模型转换失败 #1996

wzt1229 opened this issue Sep 23, 2024 · 0 comments

Comments

@wzt1229
Copy link

wzt1229 commented Sep 23, 2024

1. 使用环境(environment)

  • OS: Mac/Docker
  • OS Version: Mac OS 14.5

2. Github版本

3. 详细描述bug 情况 (Describe the bug)
A clear and concise description of what the bug is.

  • issue type: 模型转换失败(converter failed)
  • original model: TensorFlowLite
    (如果可以的话,请上传原始的模型文件)

4. 日志(Log)

python3 ./converter.py tflite2tnn /workspace/model_metadata.tflite -debug

----------  convert model, please wait a moment ----------

/opt/TNN/tools/convert2tnn


/opt/TNN/tools/convert2tnn/bin/TnnConverter -mt TFLITE  -mp /workspace/model_metadata.tflite -od /workspace/
E/tnn: exec [File tools/converter/source/tflite/tflite_gather_converter.cc][Line 129] TNN TFLite Gather convert does not support indices dims size 1

E/tnn: Convert2Tnn [File tools/converter/source/tflite/tflite_converter.cc][Line 140] TFLite converter Gather failed!

E/tnn: Run [File tools/converter/source/tnn_converter.cc][Line 50] Converter: converter /workspace/model_metadata.tflite failed!


Oh No, tflite2tnn failed :(

5. 截图(Screenshots)
If applicable, add screenshots to help explain your problem.
image

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