Skip to content

question about in LRScheduler in utils.py #9

@amiltonwong

Description

@amiltonwong

Hi, all,

In train_partseg.py, lr_scheduler is applied. However, this argument is assigned with value around 14,000 (for ShapeNet Part dataset), which is passed to this line:
lr_decay = self.lr_decay ** int(step / self.decay_step),
And self.decay_step is initialized as 15,000, so lr_decay is always be self.lr_decay ** 0 ->1.
Therefore, self.optimizer.lr is always unchanged from this line.
self.optimizer.lr = lr_decay * self.basic_lr.

Is something wrong in LRScheduler in utils.py?

Please correct me if I misunderstand the code.

Thanks~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions