Instructions to use litert-community/fastvit_t8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/fastvit_t8 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 LiteRT converted fastvit_t8
Browse files- README.md +43 -0
- model.tflite +3 -0
README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: litert
|
| 3 |
+
base_model: timm/fastvit_t8.apple_in1k
|
| 4 |
+
tags:
|
| 5 |
+
- vision
|
| 6 |
+
- image-classification
|
| 7 |
+
datasets:
|
| 8 |
+
- imagenet-1k
|
| 9 |
+
---
|
| 10 |
+
# fastvit_t8
|
| 11 |
+
|
| 12 |
+
Converted TIMM image classification model for LiteRT.
|
| 13 |
+
|
| 14 |
+
- Source architecture: `fastvit_t8`
|
| 15 |
+
- Source checkpoint: `timm/fastvit_t8.apple_in1k`
|
| 16 |
+
- File: `model.tflite`
|
| 17 |
+
- Input: `float32` tensor in NCHW layout, shape `[1, 3, 256, 256]`
|
| 18 |
+
- Output: ImageNet-1K logits, shape `[1, 1000]`
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
|
| 22 |
+
- **Model Type:** Image classification / feature backbone
|
| 23 |
+
- **Model Stats:**
|
| 24 |
+
- Params (M): 4.0
|
| 25 |
+
- GMACs: 0.7
|
| 26 |
+
- Activations (M): 8.6
|
| 27 |
+
- Image size: 256 x 256
|
| 28 |
+
- **Papers:**
|
| 29 |
+
- FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization: https://arxiv.org/abs/2303.14189
|
| 30 |
+
- **Original:** https://github.com/apple/ml-fastvit
|
| 31 |
+
- **Dataset:** ImageNet-1k
|
| 32 |
+
|
| 33 |
+
## Citation
|
| 34 |
+
|
| 35 |
+
```bibtex
|
| 36 |
+
@inproceedings{vasufastvit2023,
|
| 37 |
+
author = {Pavan Kumar Anasosalu Vasu and James Gabriel and Jeff Zhu and Oncel Tuzel and Anurag Ranjan},
|
| 38 |
+
title = {FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization},
|
| 39 |
+
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
|
| 40 |
+
year = {2023}
|
| 41 |
+
}
|
| 42 |
+
```
|
| 43 |
+
|
model.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f098eaee87f54bd1b555e328359dc7318e3b652e6ed4d5876d5729458af9de1b
|
| 3 |
+
size 16151584
|