Giter Club home page Giter Club logo

Comments (5)

YeahTech avatar YeahTech commented on May 18, 2024

coex-share.zip
命令:python post_train_quantization.py --netconfig configs/stereo/cfg_coex-crestereo-input640-disp64-costAA2-GW-shenzhenbatch12.yaml

from tinyneuralnetwork.

peterjc123 avatar peterjc123 commented on May 18, 2024

好吧,直接原因是因为在converter中没有把量化的bn映射成BATCH_NORM算子,所以没有做fusion,其实根本原因是我们不能在converter中直接完成这一步因为这样会导致精度损失。好在1.11的PyTorch已经支持了ConvTranspose和BatchNorm在后量化时的融合,所以可以在量化那边把那些pattern加上,这样可以完成你的需求了。

from tinyneuralnetwork.

peterjc123 avatar peterjc123 commented on May 18, 2024

相关pr: #80

from tinyneuralnetwork.

peterjc123 avatar peterjc123 commented on May 18, 2024

@yaoxinghua 相关改动已合入,升级到PyTorch 1.11应该就可以了

from tinyneuralnetwork.

YeahTech avatar YeahTech commented on May 18, 2024

@peterjc123 收到,感谢大佬

from tinyneuralnetwork.

Related Issues (20)

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.