Instructions to use ParthUpadhyay1/my-model-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ParthUpadhyay1/my-model-1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, MaskFormerForInstanceSegmentation processor = AutoImageProcessor.from_pretrained("ParthUpadhyay1/my-model-1") model = MaskFormerForInstanceSegmentation.from_pretrained("ParthUpadhyay1/my-model-1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K