integrations/edge-tpu/ #12714
Replies: 6 comments 17 replies
-
Hello my friends from Earth. |
Beta Was this translation helpful? Give feedback.
-
How do I use YOLO with a Dual TPU card? I have APEX_0 and APEX_1 devices. |
Beta Was this translation helpful? Give feedback.
-
So I have a tflite model and object detection is working, but I can't seem to figure out how to tell if (and how effectively) the model is actually using the Edge TPU hardware. Is there some way to confirm that the hardware is actually being used? Can I manually enable/disable it to compare inference time? |
Beta Was this translation helpful? Give feedback.
-
Hi, I have train my custom dataset for detect fire and smoke with yolov8 nano. it's best model size is around 6MB and after exporting it using "yolo export model=yolov8n.pt format=edgetpu". it's size reduced to 3MB. But have to integrate this model in XIAO RP2040 MCU. So I need more light weight model for my edge device. In this case what I should? Please give me a solution. |
Beta Was this translation helpful? Give feedback.
-
Hi, I trained a YOLOv8l model with VisDrone dataset, and attempted to convert the best weights.pt to Edge TPU TFlite format using: model = YOLO("best.pt") my board is Coral dev board. The conversion completed successfully, but the results indicate that 164 of operations will run on the CPU instead of the Edge TPU. only 223 operation will run using Edge TPU This CPU usage will likely cause performance delays. I'm wondering if there are any strategies or techniques to improve Edge TPU utilization and minimize CPU usage during inference for this model. Any suggestions or insights would be greatly appreciated. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi friends, i am using google colap to compile yolo11n.pt into edgetpu format, since i have orange pi 5 pro which is arm, so when i am trying to do it in my laptop i got this PyTorch: starting from '/content/yolo11n.pt' with input shape (1, 3, 640, 640) BCHW and output shape(s) (1, 84, 8400) (5.4 MB) TensorFlow SavedModel: starting export with tensorflow 2.17.0... ONNX: starting export with onnx 1.17.0 opset 19... Automatic generation of each OP name started ======================================== Model loaded ======================================================================== Model conversion started ============================================================ WARNING: INT8 Quantization with int16 activations tflite output failed. WARNING: Full INT8 Quantization with int16 activations tflite output failed. Edge TPU: starting export with Edge TPU compiler 16.0.384591198... Export complete (252.6s) |
Beta Was this translation helpful? Give feedback.
-
integrations/edge-tpu/
Discover how to uplift your Ultralytics YOLOv8 model's overall performance with the TFLite Edge TPU export format, which is perfect for mobile and embedded devices.
https://docs.ultralytics.com/integrations/edge-tpu/
Beta Was this translation helpful? Give feedback.
All reactions