Instructions to use hf-internal-testing/tiny-random-SegformerModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-SegformerModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="hf-internal-testing/tiny-random-SegformerModel")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-SegformerModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-SegformerModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
3d4ba8e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:dac07f7a5ae1d8b079c88b0701afeb25b25c6eb07fbcd715cb11344ab0851dab
size 3049037
|