Instructions to use Rekib23r/mobilevit-small-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Rekib23r/mobilevit-small-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-classification', 'Rekib23r/mobilevit-small-ONNX');
| { | |
| "crop_size": { | |
| "height": 256, | |
| "width": 256 | |
| }, | |
| "do_center_crop": true, | |
| "do_flip_channel_order": true, | |
| "do_flip_channels": true, | |
| "do_reduce_labels": false, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_processor_type": "MobileViTImageProcessor", | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "shortest_edge": 288 | |
| } | |
| } | |