Instructions to use aneforge/vit-base-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ANEForge
How to use aneforge/vit-base-patch16-224 with ANEForge:
# Run this model on the Apple Neural Engine, without CoreML. import aneforge as af vit = af.load_vit("aneforge/vit-base-patch16-224") labels = vit.classify(image) # image: a PIL.Image; returns top-k (label, logit) - Notebooks
- Google Colab
- Kaggle
Duplicate google/vit-base-patch16-224 for ANEForge (weights unchanged, library_name: aneforge)
75f2b29 verified | { | |
| "do_normalize": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "size": 224 | |
| } | |