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:90ecfb3c0f0249f27b1b930bc0da73ebe0ee57d7266dd6cd332f1234c48dc50f
size 4360589
|