Skip to content

cutmix alpha argument in references/classification/transforms.py #8440

@eminorhan

Description

@eminorhan

I believe the alpha argument here should be cutmix_alpha not mixup_alpha:

transforms_module.CutMix(alpha=mixup_alpha, num_classes=num_classes)

Same issue here as well:

else RandomCutMix(num_classes=num_classes, p=1.0, alpha=mixup_alpha)

Just curious: were the pretrained models actually trained using this code? Any chance this might have affected the performance of the pretrained models in any way?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions