Git Product home page Git Product logo

aliushn / caffe-int8-convert-tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eric612/caffe-int8-convert-tools

0.0 3.0 0.0 110.68 MB

This convert tools is base on TensorRT Int8 calibration tools,which use the KL algorithm to find the suitable threshold to quantize the activions from Float32 to Int8(-128 - 127).

License: BSD 3-Clause "New" or "Revised" License

Python 98.32% Shell 1.68%

caffe-int8-convert-tools's Introduction

An experiment project to test quilization performance on mobilenet yolo

Test accuracy loss of different condition

merge_bn

Network mAP Resolution Data Type Framework Bit
MobileNet-YOLOv3-Lite 0.737 416 float caffe 32
MobileNet-YOLOv3-Lite 0.725 416 float ncnn 32
MobileNet-YOLOv3-Lite 0.520 416 int ncnn 8
MobileNet-YOLOv3-Lite 0.582 416 mixed precision : remove conv0 ncnn 8

non merge_bn

Network mAP Resolution Data Type Framework Bit
Pelee-YOLOv3 0.703 416 float caffe 32
Pelee-YOLOv3 0.689 416 float ncnn 32
Pelee-YOLOv3 0.686 416 mixed precision : remove stem1 ncnn 8
Network mAP Resolution Data Type Framework Bit
MobileNet-YOLOv3 0.737 416 float caffe 32
MobileNet-YOLOv3 0.729 416 float ncnn 32
MobileNet-YOLOv3 0.634 416 int ncnn 8
MobileNet-YOLOv3 0.668 416 mixed precision : remove conv0 ncnn 8

Model download from previous version MobileNet-YOLO

accuracy loss example

alt tag

eval mAP project

Tencent/ncnn

caffe-int8-convert-tools's People

Contributors

bug1989 avatar daquexian avatar eric612 avatar bug1989-lite avatar

Watchers

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