GithubHelp home page GithubHelp logo

henrymxu / darknet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pjreddie/darknet

0.0 0.0 0.0 6.2 MB

Convolutional Neural Networks

Home Page: http://pjreddie.com/darknet/

License: Other

Makefile 0.33% Python 0.91% C 90.11% Shell 0.21% Cuda 7.77% C++ 0.67%

darknet's Introduction

Darknet Logo

Custom Darknet

This version of darknet allows the user to save the results of classifications. The results are saved as a json file containing the various detections along with their properties (class, bounding box).

To run this custom command, use validate.

Single Image Validation

Running the detector on a single image located at ~/Documents/ImageSet/gallardo/image_39.jpg and outputting the results at ~/Documents/ImageSet/gallardo/results.json.

./darknet validate cfg/yolov3.cfg cfg/yolov3.weights ~/Documents/ImageSet/gallardo/result.json ~/Documents/ImageSet/gallardo/image_39.jpg

  • (Assuming you are in the darknet directory)

Multiple Image Validation

To run the detector on multiple images, leave the image path blank. Once the weights are loaded, input each image path one at a time. The results will still all be saved in the same file. Input a blank file name to end the process.

./darknet validate cfg/yolov3.cfg cfg/yolov3.weights ~/Documents/ImageSet/gallardo/result.json

  • (Assuming you are in the darknet directory)

The images that are passed in cannot use ~ as apart of the path.

To automate the usage of the detector with multiple images, create a text file with all the paths of the images you wish to be validated and run the following command.

cat image_list.txt | ./darknet detect cfg/yolov3.cfg yolov3.weights ~/Documents/ImageSet/gallardo/result.json

  • (Assuming you are in the darknet directory)
  • (Assuming image path list is found in image_list.txt with paths seperated by new lines)

Darknet

Darknet is an open source neural network framework written in C and CUDA. It is fast, easy to install, and supports CPU and GPU computation.

For more information see the Darknet project website.

For questions or issues please use the Google Group.

darknet's People

Contributors

pjreddie avatar tjluyao avatar henrymxu avatar alexey-kamenev avatar lilohuang avatar agirbau avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.