GithubHelp home page GithubHelp logo

Comments (4)

BrikerMan avatar BrikerMan commented on May 12, 2024

没太看明白,请问这个能解决你的问题么? #17

from kashgari.

BrikerMan avatar BrikerMan commented on May 12, 2024

请问问题解决了么?

from kashgari.

huyi1989 avatar huyi1989 commented on May 12, 2024

解决了,我通过生成h5文件,再将h5转成pb文件进行量化模型,但是量化后的模型大小没有改变太多(按理来说应该会减小一半以上才是),不知道是不是因为用了bert的结构才这样的。

from kashgari.

BrikerMan avatar BrikerMan commented on May 12, 2024

解决了,我通过生成h5文件,再将h5转成pb文件进行量化模型,但是量化后的模型大小没有改变太多(按理来说应该会减小一半以上才是),不知道是不是因为用了bert的结构才这样的。

可能是~ 解决了就好。后期可能会把 keras 替换成 tf.keras,到时候应该就省去了很多问题。更方便的导出和用 serving 部署。

from kashgari.

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.