Closed mauriciodev closed 7 months ago
The changes to TIMM introduced a bug that would prevent SimVP with Swin or Vit. The bug could be reproduced with the following:
python tools/train.py -d mmnist --lr 1e-3 -c configs/mmnist/simvp/SimVP_Swin.py --ex_name mmnist_simvp_swin
python tools/train.py -d mmnist --lr 1e-3 -c configs/mmnist/simvp/SimVP_Vit.py --ex_name mmnist_simvp_vit
The culprit was that the TIMM methods signatures for these blocks have two drop rates: attn and proj. I mapped both from the drop provided by openstl.
I also made a similar mistake, which is Proj's mistake. Have you solved the problem?
The changes to TIMM introduced a bug that would prevent SimVP with Swin or Vit. The bug could be reproduced with the following:
python tools/train.py -d mmnist --lr 1e-3 -c configs/mmnist/simvp/SimVP_Swin.py --ex_name mmnist_simvp_swin
python tools/train.py -d mmnist --lr 1e-3 -c configs/mmnist/simvp/SimVP_Vit.py --ex_name mmnist_simvp_vit
The culprit was that the TIMM methods signatures for these blocks have two drop rates: attn and proj. I mapped both from the drop provided by openstl.