GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - AmarJ/darknet-NN-framework: Darknet is an open source neural network framework written in C and CUDA by Joseph Redmon.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

413 Commits
413 Commits

Folders and files

NameName
Last commit message
Last commit date
cfg
cfg
 
 
data
data
 
 
examples
examples
 
 
include
include
 
 
python
python
 
 
scripts
scripts
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Kaptur-Logo.png
Kaptur-Logo.png
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
darknet19_448.conv.23
darknet19_448.conv.23
 
 
libdarknet.a
libdarknet.a
 
 
libdarknet.so
libdarknet.so
 
 
log.txt
log.txt
 
 

Repository files navigation

Darknet Neural Network Framework

Darknet is an open source neural network framework written in C and CUDA by Joseph Redmon.

Using Redmon's darknet framework I created my own implementation of YOLO (You Only Look Once) for my Kaptur logo recognition project. YOLO is a new approach to object detection that uses a single neural network to predict bounding boxes and class probabilities on full images in one evaluation (hence the name). The paper on YOLO is pretty easy to follow and nicely breaks down some machine learning concepts for none-PhDs like myself.

Use case

alt_text

Kaptur is an application running in the cloud that scrapes images off social media sites and looks for logos of popular brands such as Starbucks, Nike and Corona. Once a logo is found, the metadata around the post is collected and several object classifiers are run on the image to get more information about what’s in it. I am collecting data about how people around the world are using these brands and working on transforming this mountain of information into business insights.

Custom features I added to the framework

  • Watch folder: Images that are dropped into the watch folder are added to a queue and then run through the network for logo detection.

    alt text

  • Threading for network predictions: Once the neural network's weights are loaded, multiple classifier threads are created to make predictions on images simultaneously. Before this only one image was processed at a time. On less powerful machines, like an AWS micro instance or a Raspberry pi, this doubles and sometimes triples the rate at which images are processed.

  • Load balancing of the queue: Provides a pool of threads that are used to drain the queue. The number of threads created depends on the available virtual memory and stack size. Sometimes threads hang, so instead of losing that image and prediction, the image is added back to the queue and re-run through another thread. This avoids some OOM problems and keeps everything running smoothly.

Results from YOLO

So far I've been really happy with the results that I've gotten with YOLO.

alt text alt text alt text alt text

About

Darknet is an open source neural network framework written in C and CUDA by Joseph Redmon.

pjreddie.com/darknet/

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.