rayleizhu / BiFormer

[CVPR 2023] Official code release of our paper "BiFormer: Vision Transformer with Bi-Level Routing Attention"
https://arxiv.org/abs/2303.08810
MIT License
460 stars 36 forks source link

May I ask where is the Patch Embedding or PatchEmbed in your code?Do you divide the window first and then divide the patch? #18

Closed xuguangyi1999 closed 1 year ago

rayleizhu commented 1 year ago

https://github.com/rayleizhu/BiFormer/blob/1697bbbeafb8680524898f1dcaac10defd0604be/models/biformer.py#L183