Open JiangMei0201 opened 2 years ago
Are you getting the error when you tried to use input size of 224?
When using size of 224, the height and width of the feature is 7 by 7. Since the patch size is 2 by 2, you need to pad or interpolate it to 8 by 8.
输入图像的尺寸必须是32的整数倍。patch_size的大小要能被每次下采样后的特征大小整除就可以了
输入图像的尺寸必须是32的整数倍。patch_size的大小要能被每次下采样后的特征大小整除就可以了
我喜欢看中文
hi, I face the same error, have you any solution to deal with it?