Instructions to use nielsr/vitmatte-small-composition-1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nielsr/vitmatte-small-composition-1k with Transformers:
# Load model directly from transformers import AutoImageProcessor, VitMatteForImageMatting processor = AutoImageProcessor.from_pretrained("nielsr/vitmatte-small-composition-1k") model = VitMatteForImageMatting.from_pretrained("nielsr/vitmatte-small-composition-1k") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened 10 months ago
by
SFconvertbot