SAM3 - Semantic Segmentation Model

SAM3 is a semantic segmentation model deployed as a custom Docker container on HuggingFace Inference Endpoints.

πŸš€ Deployment

πŸ“Š Model Architecture

Built on Meta's SAM3 (Segment Anything Model 3) architecture for text-prompted semantic segmentation of static images.

🎯 Usage

import requests
import base64

# Read image
with open("image.jpg", "rb") as f:
    image_b64 = base64.b64encode(f.read()).decode()

# Call endpoint
response = requests.post(
    "https://p6irm2x7y9mwp4l4.us-east-1.aws.endpoints.huggingface.cloud",
    json={
        "inputs": image_b64,
        "parameters": {"classes": ["pothole", "asphalt"]}
    }
)

# Get results
masks = response.json()
for result in masks:
    print(f"Class: {result['label']}, Score: {result['score']}")

πŸ“¦ Deployment

This model is deployed using a custom Docker image. See the GitHub repository for full documentation and deployment instructions.

πŸ“„ License

MIT License. This deployment uses Meta's SAM3 model - see the facebook/sam3 model card for model license information.

πŸ”— Resources

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support