Code Monkey home page Code Monkey logo

darknet_fixed_point's Introduction

This repo is focus on yolov3-tiny

After enable fixed point calculation in Makefile (fixed point only support on CPU, pls set GPU=0 )
GEMM_FIXED=1, BIAS_FIXED=1

fixed point calcuation is simulate by int64 & convert back to floating point after each convolution

Dataset

explain how to build up dataset

coco

As here https://pjreddie.com/darknet/yolo/

voc

As here https://pjreddie.com/darknet/yolo/

kitti

convert by custem code
updating... 
[Todo] collecting convertion code & make doc.

imagenet

download at: https://www.zybuluo.com/nrailgun/note/488084 <br>
follow by : https://pjreddie.com/darknet/imagenet/ <br>

Model

Default with yolov3-tiny or yolov3 <br>
you can get more yolo model at https://pjreddie.com/darknet/yolo/ <br>
get model for image classify at https://pjreddie.com/darknet/imagenet <br>

Training

how to train your own model...   <br>
[Todo] make doc.

Genarate fixed point config

We need to decide fractional point for each layer by some data.
Set GEMM_FIXED & BIAS_FIXED =1 in Makefile
Set find_new_fixed=1 in index.sh and index xx -b
Run ./index.sh kitti_small -m #run 20 image for decide fractional point

Set find_new_fixed=0 in index.sh and index xx -b
Run project with fixed point config file.

Run

Run yolov3-tiny for different config
./index.sh [kitti/voc/coco] -[?/i/m/t/...]

Choose the dataset you want and the opration to do.
You need to build up dataset first.

image classify
./darknet classifier predict cfg/imagenet1k.data cfg/darknet19.cfg darknet19.weights ./darknet classifier valid cfg/imagenet1k.data cfg/darknet19.cfg darknet19.weights

more function is comming soon... [Todo] fixed point policy [Todo] modify policy for input_data_flow

darknet_fixed_point's People

Contributors

zrobotparking avatar

Watchers

 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.