Instructions to use Xenova/vitmatte-base-composition-1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/vitmatte-base-composition-1k with Transformers.js:
// ⚠️ Unknown pipeline tag
Download preprocessor_config.json from Xenova/vitmatte-base-composition-1k: direct link, hf CLI and curl.
- Browser
- Download file 284 Bytes
-
https://huggingface.co/Xenova/vitmatte-base-composition-1k/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://Xenova/vitmatte-base-composition-1k/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Xenova/vitmatte-base-composition-1k/resolve/main/preprocessor_config.json
284 Bytes
| { | |
| "do_normalize": true, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "VitMatteImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "rescale_factor": 0.00392156862745098, | |
| "size_divisibility": 32 | |
| } | |