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

Retrained time distributed model with lower learning rate starting at epoch 3 #232

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

ejm714
Copy link
Collaborator

@ejm714 ejm714 commented Sep 26, 2022

The time distributed model was retrained since the StepLR did not run as intended, meaning the learning rate was not cut in half at epoch 3 in the prior run. Using a lower learning rate at this point is also useful since this is the epoch at which the backbone is unfrozen with a learning rate of 1/100 of the head.

This yields to a 4 point gain in macro f1 and a slight bump in top 1 accuracy as well (which is smaller given that the improvement comes for less common species, not blanks).

This model will replace the previous time distributed model.

Additional notes:

  • For this training, we used auto_lr_find (with a workaround, not on master). This yielded 0.001096, essentially the same learning rate as the default (0.001). This is reassuring in that the default seems to generalize well for various batch sizes at least when training from scratch.

@ejm714 ejm714 requested a review from pjbull September 26, 2022 22:01
@netlify
Copy link

netlify bot commented Sep 26, 2022

Deploy Preview for silly-keller-664934 ready!

Name Link
🔨 Latest commit c4d377e
🔍 Latest deploy log https://app.netlify.com/sites/silly-keller-664934/deploys/6332214d36928a00088d48d9
😎 Deploy Preview https://deploy-preview-232--silly-keller-664934.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
Copy link
Contributor

@codecov-commenter
Copy link

codecov-commenter commented Sep 26, 2022

Codecov Report

Merging #232 (c4d377e) into master (eba2cec) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #232   +/-   ##
======================================
  Coverage    87.2%   87.2%           
======================================
  Files          28      28           
  Lines        1961    1961           
======================================
  Hits         1710    1710           
  Misses        251     251           
Impacted Files Coverage Δ
zamba/models/config.py 96.9% <ø> (ø)

@ejm714 ejm714 merged commit 380ef40 into master Sep 27, 2022
@ejm714 ejm714 deleted the steplr-retrain-fix branch September 27, 2022 00:06
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

Successfully merging this pull request may close these issues.

3 participants