edge-tpu-tiny-yolo icon indicating copy to clipboard operation
edge-tpu-tiny-yolo copied to clipboard

Why does quantified model run slower?

Open oroelipas opened this issue 4 years ago • 4 comments

I know these models are designed to run in Coral USB but should't also it run faster in a PC?

It takes about 1.15 seconds to run a tiny-yolov3.tflite in my coumputer but arround 15 seconds to run the quant_coco-tiny-v3-relu.tflite

Is this normal behaviour? will it run faster than 1.15s in Coral USB TPU when I buy it?

Thanks for answering!

oroelipas avatar Mar 05 '20 11:03 oroelipas

I don't know the reason, but I also got a bad performance when running the quantized model on the desktop CPU. However, it runs fine/as expected with the Edge TPU.

guichristmann avatar Apr 09 '20 10:04 guichristmann

@guichristmann What kind of inference speeds did you get with YOLOv3-tiny? In terms of FPS?

parthjdoshi avatar Jan 13 '21 11:01 parthjdoshi

@oroelipas @parthjdoshi @guichristmann Hi. I could convert my yolov3 model to quantized tflite model. But when I try to run the inference.py script. I do not see any detection happening on the input image. Were you able to get it doneusing this platform? Did you make any changes in the script? Please do help me get this run. Thank you in advance guys.

AkkiSony avatar Aug 21 '21 00:08 AkkiSony

@parthjdoshi I get around 16-17 fps with a yolov3-tiny model with relu as the activation function on device with edge tpu

lukqw avatar Oct 27 '21 20:10 lukqw