Giter Site home page Giter Site logo

error about deep-keyphrase HOT 4 CLOSED

supercoderhawk avatar supercoderhawk commented on June 2, 2024
error

from deep-keyphrase.

Comments (4)

supercoderhawk avatar supercoderhawk commented on June 2, 2024

pull 下最新的代码再试试

from deep-keyphrase.

lhy2749 avatar lhy2749 commented on June 2, 2024

Traceback (most recent call last):
File "/home/lhy/models/deep-keyphrase/deep_keyphrase/copy_rnn/train.py", line 217, in
CopyRnnTrainer().train()
File "/home/lhy/models/deep-keyphrase/deep_keyphrase/copy_rnn/train.py", line 20, in init
super().init(self.args, model)
File "/home/lhy/models/deep-keyphrase/deep_keyphrase/base_trainer.py", line 38, in init
args=args)
File "/home/lhy/models/deep-keyphrase/deep_keyphrase/dataloader.py", line 45, in init
self.fix_batch_size = args.fix_batch_size
AttributeError: 'Namespace' object has no attribute 'fix_batch_size'
请问这个参数的值是多少?我直接在脚本中加上,谢谢

from deep-keyphrase.

supercoderhawk avatar supercoderhawk commented on June 2, 2024

parser.add_argument('-fix_batch_size', action='store_true', help='')

你在pull下就行了,昨天代码没push成功。。

from deep-keyphrase.

lhy2749 avatar lhy2749 commented on June 2, 2024

好的。非常感谢

from deep-keyphrase.

Related Issues (11)

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.