Instructions to use Saimon8420/ormbg-web with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Saimon8420/ormbg-web with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-segmentation', 'Saimon8420/ormbg-web');
Download preprocessor_config.json from Saimon8420/ormbg-web: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/Saimon8420/ormbg-web/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://Saimon8420/ormbg-web/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Saimon8420/ormbg-web/resolve/main/preprocessor_config.json
283 Bytes
| { | |
| "do_normalize": false, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "feature_extractor_type": "ViTFeatureExtractor", | |
| "image_processor_type": "ViTFeatureExtractor", | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 1024, | |
| "width": 1024 | |
| } | |
| } |