The official PyTorch code for Pattern Recognition Paper "Enhancing Performance of Vision Transformers on Small Datasets through Local Inductive Bias Incorporation"
Hello, we encountered an error ‘Cannot import name '_init_vit_weights' from 'timm.models.vision_transformer’ while trying to replicate your method. This might be due to changes in the timm version that have altered or removed _init_vit_weights. Could you please provide the version of timm that you used?