Instructions to use YuvanKumar/sam-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YuvanKumar/sam-finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="YuvanKumar/sam-finetuned")# Load model directly from transformers import AutoProcessor, AutoModelForMaskGeneration processor = AutoProcessor.from_pretrained("YuvanKumar/sam-finetuned") model = AutoModelForMaskGeneration.from_pretrained("YuvanKumar/sam-finetuned") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_name_or_path": "AgniVardhan/sam-finetuned", | |
| "architectures": [ | |
| "SamModel" | |
| ], | |
| "initializer_range": 0.02, | |
| "mask_decoder_config": { | |
| "model_type": "" | |
| }, | |
| "model_type": "sam", | |
| "prompt_encoder_config": { | |
| "model_type": "" | |
| }, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.40.0.dev0", | |
| "vision_config": { | |
| "dropout": 0.0, | |
| "initializer_factor": 1.0, | |
| "intermediate_size": 6144, | |
| "model_type": "", | |
| "projection_dim": 512 | |
| } | |
| } | |