ILSVRC/imagenet-1k
Viewer • Updated • 1.43M • 85.2k • 930
How to use litert-community/swinv2_tiny_window8_256 with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
Converted TIMM image classification model for LiteRT.
model.tflitemodel_static_int8.tflite| File | CPU | GPU | NPU |
|---|---|---|---|
model.tflite |
Supported | Not supported | N/A |
model_static_int8.tflite |
Supported | Not supported | 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.
@inproceedings{liu2021swinv2,
title={Swin Transformer V2: Scaling Up Capacity and Resolution},
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},
booktitle={International Conference on Computer Vision and Pattern Recognition (CVPR)},
year={2022}
}
@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}}
}
Base model
timm/swinv2_tiny_window8_256.ms_in1k