-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Adding Repeated Augment Sampler #5051
Conversation
💊 CI failures summary and remediationsAs of commit 7e5fffc (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just left a comment inside the file saying this function is borrowed from DeiT repo, please let me know if there's some license issue I need to resolve furthermore @fmassa |
Hey @sallysyw! You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py |
Summary: * Adding repaeted data-augument sampler * rebase on top of latest main * fix formatting * rename file * adding coode source Reviewed By: NicolasHug Differential Revision: D32950941 fbshipit-source-id: d30b50b9a7f8e65c676d7b89623c0bcf88792d40
This is a SUPER useful technique used in DeiT training, which helps bumping the ViT training accuracy for about 4-5%.
Therefore, we should also add it into pytorch vision reference script.
Code Reference: DeiT RA Sampler
Results reported from the original paper:
cc @datumbox