snnn001 commited on
Commit
f0b384c
·
verified ·
1 Parent(s): 538944d

Add LiteRT converted swinv2_small_window8_256

Browse files
Files changed (2) hide show
  1. README.md +59 -0
  2. model.tflite +3 -0
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: litert
3
+ base_model: timm/swinv2_small_window8_256.ms_in1k
4
+ tags:
5
+ - vision
6
+ - image-classification
7
+ datasets:
8
+ - imagenet-1k
9
+ ---
10
+ # swinv2_small_window8_256
11
+
12
+ Converted TIMM image classification model for LiteRT.
13
+
14
+ - Source architecture: `swinv2_small_window8_256`
15
+ - Source checkpoint: `timm/swinv2_small_window8_256.ms_in1k`
16
+ - File: `model.tflite`
17
+ - Input: `float32` tensor in NCHW layout, shape `[1, 3, 256, 256]`
18
+ - Output: ImageNet-1K logits, shape `[1, 1000]`
19
+
20
+ ## Runtime Status
21
+
22
+ - CPU smoke test: passed with LiteRT `CompiledModel`.
23
+ - GPU delegation: currently blocked for this model by rank-5 tensor patterns in the GPU backend, mostly `RESHAPE`, `TRANSPOSE`, and related window/attention operations. The model is published as CPU-ready while GPU support is being improved.
24
+
25
+ ## Model Details
26
+
27
+ - **Model Type:** Image classification / feature backbone
28
+ - **Model Stats:**
29
+ - Params (M): 49.7
30
+ - GMACs: 11.6
31
+ - Activations (M): 40.1
32
+ - Image size: 256 x 256
33
+ - **Papers:**
34
+ - Swin Transformer V2: Scaling Up Capacity and Resolution: https://arxiv.org/abs/2111.09883
35
+ - **Original:** https://github.com/microsoft/Swin-Transformer
36
+ - **Dataset:** ImageNet-1k
37
+
38
+ ## Citation
39
+
40
+ ```bibtex
41
+ @inproceedings{liu2021swinv2,
42
+ title={Swin Transformer V2: Scaling Up Capacity and Resolution},
43
+ author={Ze Liu and Han Hu and Yutong Lin and Zhuliang Yao and Zhenda Xie and Yixuan Wei and Jia Ning and Yue Cao and Zheng Zhang and Li Dong and Furu Wei and Baining Guo},
44
+ booktitle={International Conference on Computer Vision and Pattern Recognition (CVPR)},
45
+ year={2022}
46
+ }
47
+ ```
48
+ ```bibtex
49
+ @misc{rw2019timm,
50
+ author = {Ross Wightman},
51
+ title = {PyTorch Image Models},
52
+ year = {2019},
53
+ publisher = {GitHub},
54
+ journal = {GitHub repository},
55
+ doi = {10.5281/zenodo.4414861},
56
+ howpublished = {\url{https://github.com/huggingface/pytorch-image-models}}
57
+ }
58
+ ```
59
+
model.tflite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec038e7d483cc1ce501632333705246dba2bc318c6f04d6bc451858543b528da
3
+ size 205077264