Git Product home page Git Product logo

caffe-yolo9000's Introduction

CAFFE for YOLO9000

Reference

YOLO9000: Better, Faster, Stronger

http://pjreddie.com/yolo9000/

https://github.com/yeahkun/caffe-yolo

Usage

caffe

   vim Makefile.config
   make

Data preparation

  cd data/yolo
  mkdir lmdb
  ln -s /your/path/to/VOCdevkit/ .
  python ./get_list.py
  # change related path in script convert.sh
  ./convert.sh 

Train

  cd examples/yolo/darknet_v3
  # change related path in script train.sh
  mkdir models
  ./train_darknet_v3.sh

Test a image

   cd examples/yolo/eval_detection
   jupyter notebook
   test_det.ipynb

Eval VOCtest2007(The first way online)

  # mAP reach ~56. Because of I train net poorly...you can try.
  cd examples/yolo/darknet_v3
  ./test_darknet_v3.sh

MODEL=./models/gnet_yolo_region_darknet_v3_pretrain_rectify_iter_200000.caffemodel

model is here:

https://pan.baidu.com/s/1nvHggFB t7ui

Eval VOCtest2007(The second way offline)

  cd examples/eval_detection
  python test_yolo_v2.py

Draw loss figure(avg_obj, avg_noobj, avg_class, avg_iou, recall)

  cd tools/yolo_extra
  python parse_log_yolo.py ./log/train_darknet_anchor.log ./log

If you want to train your datasets. you should edit the train_prototxt.

   [conv_reg layer] num_output = num * (num_class + coords + 1) = 5 * (your_classes_num + 4 + 1)
   [det_loss layer] num_class = your_classes_num
yolo9000-Tree example prototxts, model and .sh will update soon!

caffe-yolo9000's People

Contributors

choasup avatar

Watchers

James Cloos avatar Yiliang 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.