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
File size: 160 Bytes
75f2b29 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"do_normalize": true,
"do_resize": true,
"image_mean": [
0.5,
0.5,
0.5
],
"image_std": [
0.5,
0.5,
0.5
],
"size": 224
}
|