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

About export #8376

Closed
1 task done
sdreamforchen opened this issue Jun 28, 2022 · 6 comments
Closed
1 task done

About export #8376

sdreamforchen opened this issue Jun 28, 2022 · 6 comments
Labels
question Further information is requested Stale Stale and schedule for closing soon

Comments

@sdreamforchen
Copy link

Search before asking

Question

How can I export tflite with int8、 No preprocessing and No NMS?
Thanks very much!

Additional

No response

@sdreamforchen sdreamforchen added the question Further information is requested label Jun 28, 2022
@glenn-jocher
Copy link
Member

@sdreamforchen

python export.py --weights yolov5s.pt --include tflite --int8

@sdreamforchen
Copy link
Author

@sdreamforchen

python export.py --weights yolov5s.pt --include tflite --int8

TensorFlow Lite: export failure: EndVector() takes 1 positional argument but 2 were given
And I use python export.py --weights yolov5s.pt --include tflite --int8 True
get the same “export failure”

@Z-Jian
Copy link

Z-Jian commented Jun 29, 2022

@sdreamforchen The issue you face is similar to this closed issue #5707. Please check it out

@github-actions
Copy link
Contributor

github-actions bot commented Jul 30, 2022

👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.

Access additional YOLOv5 🚀 resources:

Access additional Ultralytics ⚡ resources:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐!

@github-actions github-actions bot added the Stale Stale and schedule for closing soon label Jul 30, 2022
@github-actions github-actions bot closed this as completed Aug 9, 2022
@CharlesMod
Copy link

CharlesMod commented Feb 15, 2023

Greetings from the future! I believe there may be another issue with this behavior, forcing v1.12 of EndVector (flatbuffers) now causes a new error with pytorch v1.13:

image

Reinstalling the latest flatbuffers (v21) seems to fix the issue.

@glenn-jocher
Copy link
Member

@CharlesMod thanks for flagging this, and great detective work on identifying the cause and resolution! The YOLOv5 team will take a closer look at this new issue and seek a solution. Your insights are invaluable to the community, so thank you for sharing them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Stale Stale and schedule for closing soon
Projects
None yet
Development

No branches or pull requests

4 participants