Instructions to use hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation with Transformers:
# Load model directly from transformers import AutoProcessor, OneFormerForUniversalSegmentation processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation") model = OneFormerForUniversalSegmentation.from_pretrained("hf-internal-testing/tiny-random-OneFormerForUniversalSegmentation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
fee1cfd | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:4059e220e70259541ef1d8099782cf783022602dd2b0527d96d98fe0e74d606c
size 47903765
|