philipperemy / yolo-9000

YOLO9000: Better, Faster, Stronger - Real-Time Object Detection. 9000 classes!
Apache License 2.0
1.17k stars 309 forks source link

Yolo 9000 for object detection #45

Open srividya91 opened 4 years ago

srividya91 commented 4 years ago

Hello Everyone, i am trying to use yolo 9000 for object detection. i read yolo9000.cfg file using darknet. but, i am unable to read the weight files using darkflow.. could any one please help me out..

` net=cv2.dnn.readNetFromDarknet("(r"C:\Users\Desktop\darknet-master\darknet-master\cfg\yolo9000.cfg")

net1=cv2.dnn.readNetFromDarknet(r"C:\Users\Desktop\darknet-master\darknet-master\yolo9000.weights")`

error Traceback (most recent call last)

in ----> 1 net1=cv2.dnn.readNetFromDarknet(r"C:\Users\Desktop\darknet-master\darknet-master\yolo9000.weights") error: OpenCV(4.1.2) C:\projects\opencv-python\opencv\modules\dnn\src\darknet\darknet_importer.cpp:207: error: (-212:Parsing error) Failed to parse NetParameter file: C:\Users\Desktop\darknet-master\darknet-master\yolo9000.weights in function 'cv::dnn::dnn4_v20190902::readNetFromDarknet'
philipperemy commented 3 years ago

What's the md5 for C:\Users\Desktop\darknet-master\darknet-master\yolo9000.weights?

wwJinkla commented 3 years ago

Does OpenCV have an implementation of YOLO9000? Mine (OpenCV 4.4.0) complained that

CV_Error(cv::Error::StsNotImplemented, "Yolo9000 is not implemented");

mv2050arshad commented 3 years ago

Does OpenCV have an implementation of YOLO9000? Mine (OpenCV 4.4.0) complained that

CV_Error(cv::Error::StsNotImplemented, "Yolo9000 is not implemented");

i have same erorr still with opencv 4.5.0 have you successful to solve this problem ?

khumam commented 2 years ago

Has same issue with OpenCV 4.4.0. It's said Yolo9000 is not implemented in function 'cv::dnn::RegionLayerImpl::RegionLayerImpl'

codedinger commented 2 years ago

I would like to implement YOLO9000 with OpenCV from Darknet but it provides me with that error as well:

error: OpenCV(4.5.4) /tmp/pip-req-build-3129w7z7/opencv/modules/dnn/src/layers/region_layer.cpp:101: error: (-213:The function/feature is not implemented) Yolo9000 is not implemented in function 'RegionLayerImpl'

Is not there any implementation or solution for that yet? Is there any other library for me to implement YOLO9000 for object detection? I would appreciate fast reply.

Shashi630 commented 5 months ago

@philipperemy @wwJinkla @mv2050arshad @khumam @srividya91 i want to use yolo9000 model in android application, what is the process to convert the model to tflite model or other android suitable model, please respond ....