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

Coral dev board and YOLO for object detection. #869

Open
MECHAAMER opened this issue Oct 10, 2024 · 0 comments
Open

Coral dev board and YOLO for object detection. #869

MECHAAMER opened this issue Oct 10, 2024 · 0 comments
Labels
comp:model Model related isssues Hardware:Dev Board Coral Dev Board issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:performance Performance issues type:support Support question or issue

Comments

@MECHAAMER
Copy link

MECHAAMER commented Oct 10, 2024

Description

I'm working on training a Yolo model for object detection and plan to use a Google Coral Dev Board for inference. As the Coral documentation recommends, the model should be in the TFLite format with 8-bit quantization for optimal performance.

Thanks to Ultralytics, exporting the model to the required format is straightforward: Python

from ultralytics import YOLO 

model = YOLO("pre_trained_model.pt")

# Export the model to TFLite Edge TPU format 
model.export(format="edgetpu")

In the output, I see: Number of operations that will run on Edge TPU: 425 Number of operations that will run on CPU: 24

My question is: Can I do anything to make all operations run on the TPU for faster processing?

Additionally, are there any other recommended models that might offer better accuracy and lower latency on a Google Coral board?

Thank you all.

Click to expand!

Issue Type

Performance, Support

Operating System

Ubuntu

Coral Device

Dev Board

Other Devices

No response

Programming Language

Python 3.7, Other

Relevant Log Output

No response

@google-coral-bot google-coral-bot bot added comp:model Model related isssues Hardware:Dev Board Coral Dev Board issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:performance Performance issues type:support Support question or issue labels Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:model Model related isssues Hardware:Dev Board Coral Dev Board issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:performance Performance issues type:support Support question or issue
Projects
None yet
Development

No branches or pull requests

1 participant