cooper_robot
commited on
Commit
·
f014efc
1
Parent(s):
e8172d6
Initial upload TopFormer model
Browse files- .gitignore +5 -0
- README.md +28 -0
- resource/Topformer.png +3 -0
.gitignore
CHANGED
|
@@ -1 +1,6 @@
|
|
| 1 |
n1_*.bin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
n1_*.bin
|
| 2 |
+
|
| 3 |
+
# 确保所有 Git 相关文件不会被提交
|
| 4 |
+
.git*
|
| 5 |
+
!.gitattributes
|
| 6 |
+
!.gitignore
|
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+

|
| 6 |
+
|
| 7 |
+
TopFormer introduces a lightweight token–pyramid transformer that progressively merges local and global representations, achieving strong accuracy–efficiency trade-offs for mobile and edge vision tasks.
|
| 8 |
+
|
| 9 |
+
Original paper: [TopFormer: Token Pyramid Transformer for Mobile Vision](https://arxiv.org/abs/2204.05525)
|
| 10 |
+
|
| 11 |
+
#TopFormer-B
|
| 12 |
+
|
| 13 |
+
This model uses the TopFormer-Base variant, which balances representational capacity and computational efficiency through a hierarchical token pyramid. It is well suited for on-device image classification and as an efficient backbone for downstream tasks where low latency and power efficiency are critical.
|
| 14 |
+
|
| 15 |
+
Model Configuration:
|
| 16 |
+
- Reference implementation: [TopFormer](https://github.com/hustvl/TopFormer)
|
| 17 |
+
- Original Weight: [TopFormer-B_512x512_4x8_160k](https://drive.google.com/file/d/1m7CxYKWAyJzl5W3cj1vwsW4DfqAb_rqz/view?usp=sharing)
|
| 18 |
+
- Resolution: 3x512x512
|
| 19 |
+
- Dataset: ADE20K
|
| 20 |
+
- Support Cooper version:
|
| 21 |
+
- Cooper SDK: [2.5.2]
|
| 22 |
+
- Cooper Foundry: [2.2]
|
| 23 |
+
|
| 24 |
+
| Model | Device | Model Link |
|
| 25 |
+
| :-----: | :-----: | :-----: |
|
| 26 |
+
| TopFormer-B | N1-655 | [Model_Link](https://huggingface.co/Ambarella/TopFormer/blob/main/n1-655_topformer_base.bin) |
|
| 27 |
+
| TopFormer-B | CV72 | [Model_Link](https://huggingface.co/Ambarella/TopFormer/blob/main/cv72_topformer_base.bin) |
|
| 28 |
+
| TopFormer-B | CV75 | [Model_Link](https://huggingface.co/Ambarella/TopFormer/blob/main/cv75_topformer_base.bin) |
|
resource/Topformer.png
ADDED
|
Git LFS Details
|