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