Downloads · 30 days
125
40% of all-time downloads
litert-community/swin_tiny_patch4_window7_224
swin_tiny_patch4_window7_224 is a image classification model from litert-community. Use it when you need a label for an image. It is set up for litert.
Converted TIMM image classification model for LiteRT.
Downloads · 30 days
125
40% of all-time downloads
All-time downloads
309
Public
Repo size
321 MB
Likes
1
Public
Click a slice to open those files.
.tflite206 MB · 100%
From the Hugging Face model README
Converted TIMM image classification model for LiteRT.
model.tflitemodel_static_int8.tflite| File | CPU | GPU | NPU |
|---|---|---|---|
model.tflite | Supported | Supported with CPU fallback | N/A |
model_static_int8.tflite | Supported | Supported with CPU fallback | Qualcomm |
The NPU entry denotes compilation support; runtime accuracy is unverified.
model_static_int8.tflite uses INT8 inputs/outputs and convolution/FC quantization; attention, normalization and other operations remain FP32. Apply the source checkpoint’s preprocessing, then quantize the input and dequantize the output using the file’s tensor scales and zero points.
For GPU execution of model_static_int8.tflite, select FP32 GPU precision.
@inproceedings{liu2021Swin,
title={Swin Transformer: Hierarchical Vision Transformer using Shifted Windows},
author={Liu, Ze and Lin, Yutong and Cao, Yue and Hu, Han and Wei, Yixuan and Zhang, Zheng and Lin, Stephen and Guo, Baining},
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
year={2021}
}
@misc{rw2019timm,
author = {Ross Wightman},
title = {PyTorch Image Models},
year = {2019},
publisher = {GitHub},
journal = {GitHub repository},
doi = {10.5281/zenodo.4414861},
howpublished = {\url{https://github.com/huggingface/pytorch-image-models}}
}