Giter Club home page Giter Club logo

yolov3-tensorflow's Introduction

Introduction

A Tensorflow Implementation of Yolov3.

  • Detecting objects from pretrained coco weights or our trained model.
  • Yolov3 training.
  • Fine-tuning or Training from scratch.
  • Metrics mAP.
  • Training process optimization.

Prepare

  • pretrained darknet weights

    The pretrained darknet weights file can be downloaded here. Place this weights file under directory ./data and then run:

    python convert_weights.py
    
  • anchors

    Put anchors in the ./data/anchors.txt

    10,13,  16,30,  33,23,  30,61,  62,45,  59,119,  116,90,  156,198,  373,326
    

After preparation, we will get:

|--data
    |--yolov3.weights
    |--checkpoints
           |--checkpoint
           |--yolov3.ckpt.data-00000-of-00001
           |--yolov3.ckpt.index
           |--yolov3.ckpt.meta 
    |--anchors.txt

Detect

  • use coco-trained model

    python detect.py --image_path utils/COCO_test2014_000000000069.jpg
    

    or

  • use our trained model

    python detect.py --image_path utils/2008_002047.jpg --ckpt_path ./checkpoints --names_path ./utils/voc.names --num_classes 20
    

Train

  • train from pretrained coco model

     python train.py
    

    or

  • train from our checkpoint model

     python train.py --restore_ckpt_path ./chcekpoints
    

Results

  • detection results

Reference

yolov3-tensorflow's People

Contributors

zhulf0804 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

hihongwu lapujpuj

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.