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

Fix DINOProjectionHead BatchNorm Handling #1729

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Conversation

guarin
Copy link
Contributor

@guarin guarin commented Nov 8, 2024

What has changed?

  • Create independent BatchNorms if batch_norm is True

The default is batch_norm=False, this fix should not impact any standard DINO training.

Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.93%. Comparing base (94050b3) to head (1c560e0).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1729      +/-   ##
==========================================
- Coverage   84.93%   84.93%   -0.01%     
==========================================
  Files         158      158              
  Lines        6567     6566       -1     
==========================================
- Hits         5578     5577       -1     
  Misses        989      989              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@guarin guarin merged commit c5a749f into master Nov 8, 2024
14 checks passed
@guarin guarin deleted the guarin-fix-dino-head-bn branch November 8, 2024 15:30
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.

2 participants