Instructions to use hf-tiny-model-private/tiny-random-SegformerForSemanticSegmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-SegformerForSemanticSegmentation with Transformers:
# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("hf-tiny-model-private/tiny-random-SegformerForSemanticSegmentation") model = SegformerForSemanticSegmentation.from_pretrained("hf-tiny-model-private/tiny-random-SegformerForSemanticSegmentation") - Notebooks
- Google Colab
- Kaggle