Instructions to use zeromodels/vit_tiny_patch16_224_augreg_in21k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/vit_tiny_patch16_224_augreg_in21k with KerasFormers:
# 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
- Keras
How to use zeromodels/vit_tiny_patch16_224_augreg_in21k with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://zeromodels/vit_tiny_patch16_224_augreg_in21k") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- README.md +24 -0
- model.weights.h5 +3 -0
README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: image-classification
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: timm/vit_tiny_patch16_224.augreg_in21k
|
| 5 |
+
library_name: kerasformers
|
| 6 |
+
tags:
|
| 7 |
+
- keras
|
| 8 |
+
- kerasformers
|
| 9 |
+
- image-classification
|
| 10 |
+
- vit
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# vit_tiny_patch16_224_augreg_in21k
|
| 14 |
+
|
| 15 |
+
Pure-Keras 3 image-classification weight for [kerasformers](https://github.com/IMvision12/KerasFormers), converted from [timm/vit_tiny_patch16_224.augreg_in21k](https://huggingface.co/timm/vit_tiny_patch16_224.augreg_in21k).
|
| 16 |
+
|
| 17 |
+
## Usage
|
| 18 |
+
|
| 19 |
+
```python
|
| 20 |
+
from kerasformers.models.vit import ViTImageClassify
|
| 21 |
+
model = ViTImageClassify.from_weights("vit_tiny_patch16_224_augreg_in21k")
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
License: **apache-2.0**, inherited from the upstream source.
|
model.weights.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85751396870d9f8e81d37f7475dfc8dab6528f02336efe2755769612fb9ed8fc
|
| 3 |
+
size 39396652
|