Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

参数格式不对args format wrong #527

Description

@whiteSteelRain

以下是部分参数: --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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions