Downloads · 30 days
34
17% of all-time downloads
litert-community/resnext101_64x4d.tv_in1k
resnext101_64x4d.tv_in1k is a image classification model from litert-community. Use it when you need a label for an image. It is set up for litert. The card lists the license as bsd-3-clause.
This repository contains LiteRT/TFLite exports of the TIMM image-classification model resnext10164x4d.tvin1k.
Downloads · 30 days
34
17% of all-time downloads
All-time downloads
204
Public
Repo size
510 MB
Likes
0
Public
Click a slice to open those files.
.tflite510 MB · 100%
From the Hugging Face model README
This repository contains LiteRT/TFLite exports of the TIMM image-classification model resnext101_64x4d.tv_in1k.
The model files were converted from pretrained TIMM weights published at timm/resnext101_64x4d.tv_in1k.
| File | Description | Quantization |
|---|---|---|
resnext101_64x4d_fp32.tflite | Floating-point LiteRT/TFLite model. | Floating-point weights and activations. |
resnext101_64x4d_dynamic_wi8_afp32.tflite | Dynamic weight-quantized LiteRT/TFLite model. | INT8 weights with floating-point activations. |
resnext101_64x4d_int8_channelwise.tflite | Static INT8 LiteRT/TFLite model. | INT8 weights and INT8 activations, with channelwise weight quantization. |
resnext101_64x4d_int8_channelwise.tflite was quantized with AI Edge Quantizer's static W8A8 recipe (STATIC_WI8_AI8).
The schema is:
| Tensor group | Quantization |
|---|---|
| Weights | INT8, symmetric, channelwise quantization. |
| Activations | INT8, asymmetric, tensorwise quantization. |
| Model input | INT8, tensorwise quantized NCHW image tensor with shape [1, 3, 224, 224]. |
| Model output | INT8, tensorwise quantized logits tensor with shape [1, 1000]. |
Calibration used real ImageNet validation images with the TIMM preprocessing flow for resnext101_64x4d.tv_in1k. The resolved TIMM preprocessing config was {"crop_mode": "center", "crop_pct": 0.875, "input_size": [3, 224, 224], "interpolation": "bilinear", "mean": [0.485, 0.456, 0.406], "std": [0.229, 0.224, 0.225]}. When using APIs that expose raw tensor buffers, prepare the input and output using the quantization parameters stored in the model.
These artifacts are intended for LiteRT CPU and GPU execution.
The static INT8 channelwise artifact also AOT-compiled successfully through the LiteRT Qualcomm compiler plugin for SM8750, with the compiled model fully selected into Qualcomm NPU dispatch.
Enablement for other NPU backends is still under validation.
The model files were converted from pretrained weights from TIMM. The models may have their own licenses or terms and conditions derived from TIMM and the dataset used for training. It is your responsibility to determine whether you have permission to use the models for your use case.
@article{Xie2016,
title={Aggregated Residual Transformations for Deep Neural Networks},
author={Saining Xie and Ross Girshick and Piotr Dollár and Zhuowen Tu and Kaiming He},
journal={arXiv preprint arXiv:1611.05431},
year={2016}
}
@article{He2015,
author = {Kaiming He and Xiangyu Zhang and Shaoqing Ren and Jian Sun},
title = {Deep Residual Learning for Image Recognition},
journal = {arXiv preprint arXiv:1512.03385},
year = {2015}
}
@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}}
}