Instructions to use hf-tiny-model-private/tiny-random-SegformerModel 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-SegformerModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="hf-tiny-model-private/tiny-random-SegformerModel")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("hf-tiny-model-private/tiny-random-SegformerModel") model = AutoModel.from_pretrained("hf-tiny-model-private/tiny-random-SegformerModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
a5169b0 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:40251f9deb50623f515503442806dc4786eb1bfc36eed7949114b112dd2e69c4
size 3049037
|