Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about in LRScheduler in utils.py #9

Open
amiltonwong opened this issue Mar 21, 2021 · 0 comments
Open

question about in LRScheduler in utils.py #9

amiltonwong opened this issue Mar 21, 2021 · 0 comments

Comments

@amiltonwong
Copy link

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~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant