AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.68k stars 7.96k forks source link

Only getting 0.2 FPS when running yolov3-tiny on Mac (CPU only) #4809

Open ohmeow opened 4 years ago

ohmeow commented 4 years ago

For both the webcam demo and the smart webcam demo (using my android phone), I'm only getting 0.2 FPS.

Is there a way to rectify this?

xinyee1997 commented 4 years ago

Can i know how do you running yolov3-tiny on android phone?

AlexeyAB commented 4 years ago

Run yolov3 by using OpenCV-dnn to get fast inference on Android/iOS: https://opencv.org/releases/

xinyee1997 commented 4 years ago

@AlexeyAB is it possible to use tensorflow android to run yolov3-tiny on android phone? https://github.com/tensorflow/tensorflow

AlexeyAB commented 4 years ago

Yes. Use this repo to convert cfg/weights from Darknet to TensorFlow model: https://github.com/mystic123/tensorflow-yolo-v3

Read: https://github.com/AlexeyAB/darknet#yolo-v3-in-other-frameworks

Also read: https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_Convert_Model_From_TensorFlow.html#converting-a-darknet-yolo-model