Skip to content

Swin S3-Small is different from original repo? #1906

Answered by rwightman
gau-nernst asked this question in General
Discussion options

You must be logged in to vote

@gau-nernst I did take the checkpoints from the Cream repo, yes. It was a while ago now, but I think the actual weights didn't match their config? I did what was needed model config wise to load the weights.

at 224x224 a window size of 14 doesn't make any sense in any case, the feature map is 7x7 for the final stage, you'd need an input size of 448x448 to support 14,14,14,14. The resulting model in timm matches the reported S3-Small accuracy (83.758 in timm) so I think their configs are just out of sync with weights...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gau-nernst
Comment options

Answer selected by gau-nernst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants