Instructions to use plhery/mobileclip2-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use plhery/mobileclip2-onnx with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-feature-extraction', 'plhery/mobileclip2-onnx');
File size: 284 Bytes
851defe ba95759 851defe 7e08b91 ba95759 851defe | 1 2 3 4 5 6 7 8 9 10 11 12 | {
"image_processor_type": "CLIPImageProcessor",
"crop_size": {"height": 256, "width": 256},
"do_center_crop": true,
"do_normalize": true,
"do_resize": true,
"image_mean": [0.0, 0.0, 0.0],
"image_std": [1.0, 1.0, 1.0],
"resample": 3,
"size": {"shortest_edge": 256}
}
|