GithubHelp home page GithubHelp logo

stivensss / compress_yolo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hjimce/compress_yolo

0.0 1.0 0.0 196.03 MB

对yolo模型进行网络压缩、修剪等实验

License: Other

CMake 0.06% Makefile 0.36% C 88.20% Python 0.74% Shell 0.25% Cuda 10.05% C++ 0.34%

compress_yolo's Introduction

compress_yolo 对yolo模型进行网络压缩、修剪等实验

1.git clone https://github.com/hjimce/compress_yolo

2.cd compress_yolo

3.vim Makefile and set PRUNE=1

4.start prune tiny-yolo:

./darknet detector train cfg/coco.data cfg/tiny-yolo.cfg pretrain/tiny-yolo.weights -gpus 0

5、copy backup file trained weights and test:

./darknet detector test cfg/coco.data cfg/tiny-yolo-test.cfg pretrain/tiny-yolo_prune.weights data/dog.jpg

6、test mAP:

./darknet detector valid cfg/coco.data cfg/tiny-yolo-test.cfg pretrain/tiny-yolo_prune.weights

compress the coco_results.json in results file and commit to https://competitions.codalab.org/competitions/5181#participate-submit_results

实验结果:64M compress to 18M

compress_yolo's People

Contributors

jimce avatar hjimce avatar

Watchers

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