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:ec548c2d1d2a78a46001bc1aeae8750b418a8ec9c104de1239f38716ef37088a
size 3225312
|