Skip to content

AttributeError: group_by_modality_length_auto not found in TrainingArguments #62

@Wuuu3511

Description

@Wuuu3511

Hi, thank you very much for the excellent work!

I am trying to train the model using train_sr.sh, but I encountered the following error:

AttributeError: 'TrainingArguments' object has no attribute 'group_by_modality_length_auto'.
Did you mean: 'group_by_modality_length'?

It seems that group_by_modality_length_auto is accessed in the custom sampler logic, but this argument is not defined in TrainingArguments.

Thank you very much for your time and help.
I’m looking forward to your reply!

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