Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Honoring distributed flag + fixing reset_classifier #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abhrac
Copy link

@abhrac abhrac commented Jan 12, 2022

  1. Honoring the args.distributed flag in calls to evaluate().
  2. A couple of changes to make the reset_classifier() method work:
  • Initializing the embed_dim instance variable in VisionTransformer.
  • Reinitializing the classification head for all branches.

@abhrac
Copy link
Author

abhrac commented Jan 17, 2022

@chunfuchen could you please have a look?

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

Successfully merging this pull request may close these issues.

1 participant