ICCV2021, Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
laohanlin opened this issue 3 years ago · comments
I want to run your code. But no matter how I modify it, timm keeps telling me local variable 'input' referenced before assignment. As is shown in the picture:
What's the timm version you used? Please installl timm 3.4.0 by: pip install timm==0.3.4