File size: 489 Bytes
bc3c8b6
 
 
 
 
 
3a2715a
bc3c8b6
 
 
39a28f1
 
 
 
 
 
 
 
bc3c8b6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
title: SAM Segmentation API
emoji: 🔍
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false
---

# SAM FastAPI for Hugging Face Space

This is a FastAPI wrapper for Meta's Segment Anything Model (SAM), ready to deploy on Hugging Face Spaces.

## Setup

1. Upload the `sam_vit_b.pth` model checkpoint to the root of your Space manually.
2. Hugging Face will automatically install dependencies and run the app.
3. Use the `/segment` endpoint to perform segmentation.