Instructions to use hf-tiny-model-private/tiny-random-MaskFormerForInstanceSegmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-MaskFormerForInstanceSegmentation with Transformers:
# Load model directly from transformers import AutoImageProcessor, MaskFormerForInstanceSegmentation processor = AutoImageProcessor.from_pretrained("hf-tiny-model-private/tiny-random-MaskFormerForInstanceSegmentation") model = MaskFormerForInstanceSegmentation.from_pretrained("hf-tiny-model-private/tiny-random-MaskFormerForInstanceSegmentation") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened about 1 year ago
by
SFconvertbot