Skip to content

How to tell which augmentations were used in pretrained weights? #1140

Answered by rwightman
guydav asked this question in Q&A
Discussion options

You must be logged in to vote

@guydav unfortunately, that is not possible. For horizontal flipping specifically, I'm pretty sure almost every single weight was trained with that enabled. But for the others, dropout, stochastic depth, label smoothing, auto-augn/rand-aug, cutmix/mixup, random erasing, there is no metadata.

Where models came from academic paper releases, the hparams match those in the papers (ie tf_ prefixed efficientnets, deit, convnext, etc). But again, I feel horizontal flipping + the base RandomResizeCrop is used pretty much everywhere.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@guydav
Comment options

Answer selected by guydav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants