GithubHelp home page GithubHelp logo

我的是英文NER的BERT模型,东西大同小异,但是我在用freeze_.graph.py的时候出现了如下问题,想请教下您会吗 about bert-train2deploy HOT 2 OPEN

xmxoxo avatar xmxoxo commented on August 20, 2024
我的是英文NER的BERT模型,东西大同小异,但是我在用freeze_.graph.py的时候出现了如下问题,想请教下您会吗

from bert-train2deploy.

Comments (2)

zwd13122889 avatar zwd13122889 commented on August 20, 2024

我再次查看了一下报错,如下:
Key output_bias not found in checkpoint

看了一些网上的debug方法,是不是我那个BERT的模型输出 output_bias 不叫这个名字啊?
如果是这样的话,我该如何解决

from bert-train2deploy.

zwd13122889 avatar zwd13122889 commented on August 20, 2024

我打印了一下ckpt里面的变量名,如下:
image
di'que
的确是没有所谓的output_bias,我想知道我改把那个的名称改成 output_bias 呢

from bert-train2deploy.

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.