Skip to content

Bug in CosineAnnealingLR in Python 2 (?) #4648

@mnhng

Description

@mnhng

The learning rate only takes two values base_lr or eta_min if the T_max parameter passed in the constructor is an integer. This is probably because self.last_epoch / self.T_max evaluates to an integer in Python 2.

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