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

Wrong shape converted for GIST-all-MiniLM-L6-v2 #687

Closed
superjackie opened this issue Sep 6, 2024 · 3 comments
Closed

Wrong shape converted for GIST-all-MiniLM-L6-v2 #687

superjackie opened this issue Sep 6, 2024 · 3 comments
Labels
Dynamic batch / Dynamic shape Dynamic batch / Dynamic shape

Comments

@superjackie
Copy link

Issue Type

Others

OS

Windows

onnx2tf version number

1.25.9

onnx version number

1.16.2

onnxruntime version number

1.19.2

onnxsim (onnx_simplifier) version number

0.4.36

tensorflow version number

2.17.0

Download URL for ONNX

https://huggingface.co/avsolatorio/GIST-all-MiniLM-L6-v2/resolve/main/onnx/model.onnx?download=true

Parameter Replacement JSON

{}

Description

  1. Purpose: convert GIST-all-MiniLM-L6-v2 onnx model to tflite
  2. command run on x86 windows11 WSL: onnx2tf -i model.onnx -osd -coion -b 1
  3. Issue: incorrect shape for this node:
    image
    image
  4. log:
    log.txt
@PINTO0309 PINTO0309 added Dynamic batch / Dynamic shape Dynamic batch / Dynamic shape TODO TODO labels Sep 6, 2024
@PINTO0309
Copy link
Owner

PINTO0309 commented Sep 6, 2024

@PINTO0309
Copy link
Owner

PINTO0309 commented Sep 7, 2024

4268bcf

The architecture of onnx2tf is not able to meet your request. Please try the following tools:

  1. https://github.com/google-ai-edge/ai-edge-torch
  2. https://github.com/AlexanderLutsenko/nobuco

@PINTO0309 PINTO0309 removed the TODO TODO label Sep 7, 2024
@superjackie
Copy link
Author

4268bcf

The architecture of onnx2tf is not able to meet your request. Please try the following tools:

  1. https://github.com/google-ai-edge/ai-edge-torch
  2. https://github.com/AlexanderLutsenko/nobuco

Thanks, I'll try that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dynamic batch / Dynamic shape Dynamic batch / Dynamic shape
Projects
None yet
Development

No branches or pull requests

2 participants