Giter VIP home page Giter VIP logo

Comments (4)

lizexu123 avatar lizexu123 commented on May 24, 2024

config没设置具体的量化策略,默认是超参数搜索,导致递归过大,需要指定一下量化策略

from paddleslim.

zzjjay avatar zzjjay commented on May 24, 2024

建议使用PTQ(离线量化)策略快速尝试量化效果,图中使用的是超参搜索策略,容易因模型结构导致过多的递归次数而报错。
PTQ 设置参考文档:https://github.com/PaddlePaddle/PaddleSlim/blob/develop/example/auto_compression/hyperparameter_tutorial.md#112-%E7%A6%BB%E7%BA%BF%E9%87%8F%E5%8C%96post-traing-quantization

from paddleslim.

wanghaoshuang avatar wanghaoshuang commented on May 24, 2024

ConfigSpace 版本问题,最新的 ConfigSpace 有bug,会导致上述错误。
建议回退ConfigSpace 版本到0.5.0

pip uninstall ConigSpace
pip install ConfigSpace==0.5.0 

https://pypi.org/project/ConfigSpace/0.5.0/
相关 issue: automl/ConfigSpace#343

from paddleslim.

wanghaoshuang avatar wanghaoshuang commented on May 24, 2024

如有需要,可以重新打开该 issue,多谢。

from paddleslim.

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.