Giter Site home page Giter Site logo

mnist_fakequantization's Introduction

mnist_fakequantization

这里是mnist的量化训练,代码中添加了伪量化操作,并完成了训练,生成含有伪量化节点的.pb文件,可供toco指令使用,生成量化的tflite。 具体步骤介绍及代码分析可见博客:https://blog.csdn.net/angela_12/article/details/85000072#commentsedit

这里: mnist_build_network.py:为模型创建 mnist_fakequantize.py :为量化训练(先运行这个训练) mnist_fakequantize_freeze.py:为固化冻结(再运行固化)

mnist_fakequantization's People

Contributors

officeyang avatar

Stargazers

cvhadessun avatar  avatar aboutmei avatar yixinzhang avatar  avatar  avatar dayday527 avatar  avatar

Watchers

 avatar

mnist_fakequantization's Issues

location

楼主你好,我最近也在弄模拟量化的项目,其中遇到了很多问题,特别是我现有的train.py文件和eval.py文件是基于slim来实现的,主要的问题就是,生成训练图和推理图的两条语句不知道在哪里加?现有的文件没有楼主分享的例子那样明显,位置比较好确定;我也试着加入了几次,但是伪量化节点并没有在途中找到。想问一下,楼主有什么建议吗?还是必须要将现有的文件代码进行重新编写安排呢?感谢!

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.