Instructions to use POrg/ocsai-d-web-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use POrg/ocsai-d-web-onnx with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-classification', 'POrg/ocsai-d-web-onnx');
File size: 407 Bytes
acbb8a2 c17b526 acbb8a2 c17b526 acbb8a2 c17b526 acbb8a2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | {
"image_processor_type": "ViTImageProcessor",
"size": {
"height": 224,
"width": 224
},
"crop_size": {
"height": 224,
"width": 224
},
"do_resize": true,
"do_rescale": true,
"rescale_factor": 0.00392156862745098,
"do_normalize": true,
"image_mean": [0.5, 0.5, 0.5],
"image_std": [0.5, 0.5, 0.5],
"do_center_crop": false,
"do_reduce_labels": false,
"resample": 2
}
|