MATLAB Answers

How can I use a pretrained YOLO model in Matlab?

94 views (last 30 days)
Leonard Göttert
Leonard Göttert on 5 Oct 2019
Commented: Leonard Göttert on 14 Oct 2019
I would like to detect objects in images using YOLO. Here I found a tutorial how to train your own yolov2 network or use a pretrained network capable of detecting vehicles.
But I would like to detect several different object types, using the configuration and pretrained weights from
I found a script that can import darknet neural networks into matlab (https://de.mathworks.com/matlabcentral/fileexchange/71277-deep-learning-darknet-importer). It loads the configuration and weight files from the above links and creates a LayerGraph object.
How do I proceed from here? How can I use the LayerGraph to do object detection?

  0 Comments

Sign in to comment.

Answers (1)

Srivardhan Gadila
Srivardhan Gadila on 14 Oct 2019
After importing the layer graph, collect the activations from the last layer and then follow the respective post processing steps as mentioned in Darknet code

  1 Comment

Leonard Göttert
Leonard Göttert on 14 Oct 2019
Could you please provide a link to the mentioned post processing steps? I can't find them.

Sign in to comment.

Sign in to answer this question.