ILSVRC/imagenet-1k
Viewer • Updated • 1.43M • 86k • 948
How to use litert-community/maxvit_tiny_rw_224 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.
maxvit_tiny_rw_224timm/maxvit_tiny_rw_224.sw_in1kmodel.tflitemodel_static_int8.tflite[1, 3, 224, 224] (FP32 or INT8 according to the file)[1, 1000]| File | CPU | GPU | NPU |
|---|---|---|---|
model.tflite |
Supported | Supported with CPU fallback | 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.
For GPU execution of model.tflite, select FP32 GPU precision.
@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}}
}
@article{tu2022maxvit,
title={MaxViT: Multi-Axis Vision Transformer},
author={Tu, Zhengzhong and Talebi, Hossein and Zhang, Han and Yang, Feng and Milanfar, Peyman and Bovik, Alan and Li, Yinxiao},
journal={ECCV},
year={2022},
}
@article{dai2021coatnet,
title={CoAtNet: Marrying Convolution and Attention for All Data Sizes},
author={Dai, Zihang and Liu, Hanxiao and Le, Quoc V and Tan, Mingxing},
journal={arXiv preprint arXiv:2106.04803},
year={2021}
}
Base model
timm/maxvit_tiny_rw_224.sw_in1k