Instructions to use hf-tiny-model-private/tiny-random-SegformerForImageClassification 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-SegformerForImageClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hf-tiny-model-private/tiny-random-SegformerForImageClassification") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("hf-tiny-model-private/tiny-random-SegformerForImageClassification") model = AutoModelForImageClassification.from_pretrained("hf-tiny-model-private/tiny-random-SegformerForImageClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 744cb4f3ce9f102c3ecf2748f3dea4138c7d82c54e3029698870319c5b2f51a7
- Size of remote file:
- 3.05 MB
- SHA256:
- 187bf94c3558c01b13fba70d41be53526b51146323a7ba32100ff04fe85dfe4e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.