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
File size: 468 Bytes
bc55667 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | {
"do_normalize": false,
"do_reduce_labels": true,
"do_rescale": false,
"do_resize": false,
"ignore_index": 255,
"image_mean": [
0.485,
0.456,
0.406
],
"image_processor_type": "MaskFormerImageProcessor",
"image_std": [
0.229,
0.224,
0.225
],
"num_labels": null,
"resample": 2,
"rescale_factor": 0.00392156862745098,
"size": {
"height": 256,
"width": 256
},
"size_divisor": 32
}
|