Instructions to use litert-community/resnet101 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/resnet101 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
- Notebooks
- Google Colab
- Kaggle
Add static INT8 channelwise ResNet101 model
Browse files- README.md +15 -1
- resnet101_int8_channelwise.tflite +3 -0
README.md
CHANGED
|
@@ -48,6 +48,20 @@ acc@1 (on ImageNet-1K): 77.374%
|
|
| 48 |
acc@5 (on ImageNet-1K): 93.546%
|
| 49 |
num_params: 44,549,160
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
## Intended uses & limitations
|
| 52 |
|
| 53 |
The model files were converted from pretrained weights from PyTorch Vision. The models may have their own licenses or terms and conditions derived from PyTorch Vision and the dataset used for training. It is your responsibility to determine whether you have permission to use the models for your use case.
|
|
@@ -140,4 +154,4 @@ author={He, Kaiming and Zhang, Xiangyu and Ren, Shaoqing and Sun, Jian},
|
|
| 140 |
booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition}, pages={770--778},
|
| 141 |
year={2016}
|
| 142 |
}
|
| 143 |
-
```
|
|
|
|
| 48 |
acc@5 (on ImageNet-1K): 93.546%
|
| 49 |
num_params: 44,549,160
|
| 50 |
|
| 51 |
+
## Available model files
|
| 52 |
+
|
| 53 |
+
| File | Description |
|
| 54 |
+
| --- | --- |
|
| 55 |
+
| `resnet101.tflite` | Full precision LiteRT/TFLite model. |
|
| 56 |
+
| `resnet101_dynamic_wi8_afp32.tflite` | Dynamic weight-only INT8 model with FP32 activations. |
|
| 57 |
+
| `resnet101_int8_channelwise.tflite` | Static INT8 model with channelwise INT8 weights and asymmetric INT8 activations. |
|
| 58 |
+
|
| 59 |
+
## Quantization
|
| 60 |
+
|
| 61 |
+
`resnet101_int8_channelwise.tflite` was produced with the `STATIC_WI8_AI8` quantization recipe. Weights are signed INT8 and use symmetric channelwise quantization for weight tensors. Activations are signed INT8 with asymmetric quantization parameters.
|
| 62 |
+
|
| 63 |
+
The INT8 channelwise artifact keeps standard LiteRT/TFLite model structure before AOT compilation. Local LiteRT compiler checks fully delegated this artifact for Qualcomm NPU targets. MediaTek NPU compiler checks produced partial delegation for this channelwise artifact, with a small number of Conv2D ops left outside the NPU partition.
|
| 64 |
+
|
| 65 |
## Intended uses & limitations
|
| 66 |
|
| 67 |
The model files were converted from pretrained weights from PyTorch Vision. The models may have their own licenses or terms and conditions derived from PyTorch Vision and the dataset used for training. It is your responsibility to determine whether you have permission to use the models for your use case.
|
|
|
|
| 154 |
booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition}, pages={770--778},
|
| 155 |
year={2016}
|
| 156 |
}
|
| 157 |
+
```
|
resnet101_int8_channelwise.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b97861fd0fae2a40706027827d66c180668370773d17722a9aef83e342cbd77f
|
| 3 |
+
size 46006576
|