Instructions to use hustvl/vitmatte-small-distinctions-646 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hustvl/vitmatte-small-distinctions-646 with Transformers:
# Load model directly from transformers import AutoImageProcessor, VitMatteForImageMatting processor = AutoImageProcessor.from_pretrained("hustvl/vitmatte-small-distinctions-646") model = VitMatteForImageMatting.from_pretrained("hustvl/vitmatte-small-distinctions-646") - Notebooks
- Google Colab
- Kaggle
| { | |
| "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 | |
| } | |