- Notifications
You must be signed in to change notification settings - Fork50
Bottleneck Transformers for Visual Recognition
License
NotificationsYou must be signed in to change notification settings
leaderj1001/BottleneckTransformers
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- support Multi-head Attention
Model | heads | Params (M) | Acc (%) |
---|---|---|---|
ResNet50 baseline (ref) | 23.5M | 93.62 | |
BoTNet-50 | 1 | 18.8M | 95.11% |
BoTNet-50 | 4 | 18.8M | 95.78% |
BoTNet-S1-50 | 1 | 18.8M | 95.67% |
BoTNet-S1-59 | 1 | 27.5M | 95.98% |
BoTNet-S1-77 | 1 | 44.9M | wip |
- Model
frommodelimportModelmodel=ResNet50(num_classes=1000,resolution=(224,224))x=torch.randn([2,3,224,224])print(model(x).size())
- Module
frommodelimportMHSAresolution=14mhsa=MHSA(planes,width=resolution,height=resolution)
- Paper link
- Author: Aravind Srinivas, Tsung-Yi Lin, Niki Parmar, Jonathon Shlens, Pieter Abbeel, Ashish Vaswani
- Organization: UC Berkeley, Google Research
About
Bottleneck Transformers for Visual Recognition
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.