Instructions to use hf-internal-testing/tiny-random-MaskFormerForInstanceSegmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MaskFormerForInstanceSegmentation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="hf-internal-testing/tiny-random-MaskFormerForInstanceSegmentation")# Load model directly from transformers import AutoImageProcessor, MaskFormerForInstanceSegmentation processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-MaskFormerForInstanceSegmentation") model = MaskFormerForInstanceSegmentation.from_pretrained("hf-internal-testing/tiny-random-MaskFormerForInstanceSegmentation") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
e9cc1ac | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:03831b94c4f9f3931111e1199e9edaea2db3fb2f10892f5ff9ec8a6c31333073
size 46695570
|