Object Detection through YOLOv3 using Darknet Importer in MATLAB

4 次查看(过去 30 天)
Hi
I am loading the cfg and weight files using darknet importer but finding difficulties to add the detection layer at the end.
In the official Documentation here (https://www.mathworks.com/matlabcentral/fileexchange/71277-deep-learning-darknet-importer?focused=098f9ec1-f049-4aef-a910-93b617a7a299&tab=function), there is no explanation about adding a detection layer. It is only for image classification.
Can anyone please help me in this regard?
Or you can tell me any other way to detect objects in matlab (pre-trained on coco)

回答(2 个)

Farah Sarwar
Farah Sarwar 2019-11-5
You can use YOLOv2 in MATLAB for object detection as well as R-CNN, Fast R-CNN and Faster R-CNN. Here is the link of help file for object detecion in MATLAB using YOLOv2: https://au.mathworks.com/help/deeplearning/examples/object-detection-using-yolo-v2.html
YOLOv3 definitely performs better than v2 but you will develop some understanding of the topic.
  2 个评论
Muhammad Talha
Muhammad Talha 2019-11-25
编辑:Muhammad Talha 2019-11-25
Hi Farah Sarwar,
Thanks for your help.
The sent link has the dataset only for vehicles.
Can you please guide me how I can get or make the .mat file for my own dataset or for the famous datasets like COCO or VOC, so that I can train the dataset for YOLO v2 or Faster RCNN or Mask RCNN?
Hayat  Bouchkouk
Hayat Bouchkouk 2020-3-22
Hi,Muhammad Talha
I want to know if you are able to load coco dataset in matlab or not because i face the same probleme,plizz if any body can help me ,i'me really stuck

请先登录,再进行评论。


cui,xingxing
cui,xingxing 2020-8-19
This is the yolov3 you want, but there is a problem with saving the model during training, especially the parameter saving of the bn layer should be consistent with darknet, and the labeled [x, y, w, h], instead of Normalized [center_x, center_y, w, h ]

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by