Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

参数格式不对args format wrong #527

Open
whiteSteelRain opened this issue Apr 22, 2024 · 0 comments
Open

参数格式不对args format wrong #527

whiteSteelRain opened this issue Apr 22, 2024 · 0 comments

Comments

@whiteSteelRain
Copy link

以下是部分参数: --keep-last-epochs 5 --num-workers 8 --save-dir 'nmt/models/full/full_check' --max-epoch 50 --fp16 --max-tokens 4096

用fairseq0.10.2训练的,--max-tokens我明明输入的就是int 4096,然而却获得了报错,

lightseq-train: error: argument --max-tokens: invalid typing.Optional[int] value: '4096'

看上去4096好像是以字符串的形式传过去的,但是没有转化。
lightseq-train版本3.0.1

why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant