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
f844aaa | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0c015ff1221183c05e3fe8e613b5145fa44531c35300ab3f41bf7328e9162d1b
size 45776653
|