microsoft / esvit

EsViT: Efficient self-supervised Vision Transformers
MIT License
407 stars 45 forks source link

Maybe a bug in SwinTrans #9

Closed BoPang1996 closed 2 years ago

BoPang1996 commented 2 years ago

https://github.com/microsoft/esvit/blob/c5d73eba76d76136a5ed162263b934df57ec04dc/models/swin_transformer.py#L300

In this line, should (self.H, self.W) be (H, W)?

ChunyuanLI commented 2 years ago

Thanks for pointing it out. This is corrected now.