Skip to content

"output_length" in train.py #142

@Takeru843

Description

@Takeru843

Thank you for this excellent work!
Ive been trying to benchmark my model and first tried to do "demo.sh"

But I got an error "int() argument must be a string, a bytes-like object or a real number, not 'NoneType'"
I looked at the code and it seems like at line 495 of train.py, args.output_length is None if not specified in the train section of the configuration file and caused the error.

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