question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

plugin: model: darknet: Create YOLO Model

See original GitHub issue

DFFML is hoping to participate in Google Summer of Code (GSoC) under the Python Software Foundation umbrella. You can read all about what this means at http://python-gsoc.org/. This issue, and any others tagged gsoc and project are not generally available bugs, but related to project ideas for GSoC.

Project Idea: YOLO/darknet Model.

Project description: DFFML’s initial release included a Model for Tensorflows DNN estimator.

YOLOv1,2,3 are awesome, it would be possible to wrap the YOLO work in a DFFML model and then it could be used within the DFFML API.

This involves filling out the Model abstract base class, just as the Tensorflow DNN does (use this as an example, or probably more as an education because this is likely to be rather different as we’re working with images).

Tensorflow DNN: https://github.com/intel/dffml/blob/master/model/tensorflow/dffml_model_tensorflow/model/dnn.py

Model ABC: https://github.com/intel/dffml/blob/dd8007d0c9f8c58c35c94faf148e2b5d6ce4c101/dffml/model/model.py#L30-L52

Skills: Python, git Difficulty level: Hard

Related Readings/Links:

Demo video YOLOv3

Potential mentors: @pdxjohnny

Getting Started: Start by copying the directory model/tensorflow to model/darknet and re-naming everything. Then move dnn.py to darknet.py (still re-naming everything) and make sure all the tests in the model/darknet directory still pass. Then you’ll need to gut the DNN class and start replacing it withsubprocess.call or check_output or whatever which will call out the the darknet binary which you compiled from Joseph’s darknet repo for training, accuracy, and prediction (which is object detection in this case).

What we want to see in your application: Describe how you intend to solve the problem, and give us some “stretch goals”, perhaps use the Python C bindings instead of calling subprocess out to the darknet binary. Don’t forget to include some time for building appropriate tests.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
hsfzxjycommented, Mar 31, 2019

OK. I will try to get it ready in one day or two.

0reactions
hsfzxjycommented, Apr 4, 2019

Hi @pdxjohnny . I’ve just finished my GSOC application and sent it to your gmail. Would you please have a look and give some advice? Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom YOLO Model in the DeepStream YOLO App
You can find more information about the models here: https://pjreddie.com/darknet/yolo/. The sample also illustrates NVIDIA® TensorRT™ INT8 ...
Read more >
Tutorial Darknet* YOLOv4 Model - OpenVINO™ Documentation
The tutorial follows the recommendations on importing an original model and shows how to import an original Darknet* YOLOv4 model of object detection...
Read more >
Custom Object Detection By Yolov3 Darknet | by Hitesh Gupta
Hello everyone! In this tutorial, we are going to see Object Detection and how we can train our own custom model. Whole below...
Read more >
YOLOv4 - Ten Tactics to Build a Better Model - Roboflow Blog
The YOLO v4 repository is currently one of the best places to train a custom object detector, and the capabilities of the Darknet...
Read more >
Preparing Custom Dataset for Training YOLO Object Detector
In an earlier post, we saw how to use a pre-trained YOLO model with OpenCV ... Installing DarkNet, setting up the environment and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found