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