Giter VIP home page Giter VIP logo

Comments (5)

lyuwenyu avatar lyuwenyu commented on June 4, 2024

那量化训练的意义在哪里?

精度不一样,

from paddledetection.

bittergourd1224 avatar bittergourd1224 commented on June 4, 2024

精度不一样,

@lyuwenyu 都用trt_int8推理,精度不一样在哪里?
另外还是想知道,如何将量化后模型用GPU推理且精度为int8?

from paddledetection.

bittergourd1224 avatar bittergourd1224 commented on June 4, 2024

精度不一样,

@lyuwenyu
你说的是不是准确率不同?但实测下来同样在trt_int8精度下,量化后模型的准确率还不如原始模型

另外终于找到了GPU下修改推理精度的方法,在
https://github.com/PaddlePaddle/Paddle-Inference-Demo/blob/master/c%2B%2B/gpu/gpu_fp16/resnet50_gpu_fp16.cc#L48
但实测下来,只支持float16,不支持int8

from paddledetection.

lyuwenyu avatar lyuwenyu commented on June 4, 2024

应该是量化训练这一阶段没训练好

from paddledetection.

bittergourd1224 avatar bittergourd1224 commented on June 4, 2024

我很怀疑一般的模型,通过四舍五入以更低精度推理,真的会和专门进行一次量化训练,有很大差别吗?

算了就这样吧

from paddledetection.

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.