microsoft / Cream

This is a collection of our NAS and Vision Transformer work.
MIT License
1.62k stars 220 forks source link

Search space of AutoFormer #148

Open HamdiAbed opened 1 year ago

HamdiAbed commented 1 year ago

What is the correct way to change embedding sizes in Tiny or Small supernet? what is the criteria of selecting the embedding sizes. I got this error almost every time I try to set EMBED_DIM in the supernet-T.yaml

qkv = self.qkv(x).reshape([B, N, 3, self.sample_num_heads, -1]).permute(2, 0, 3, 1, 4)
RuntimeError: shape '[16, 32, 3, 3, -1]' is invalid for input of size 61440