hilongjw/fast-sam 🔢✓🖼️📝 → 🖼️

▶️ 1.0K runs 📅 Jun 2023 ⚙️ Cog 0.6.1
image-segmentation

About

Example Output

Output

Example output

Performance Metrics

4.77s Prediction Time
5.28s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/J3vUEWFnXB7QFcxagPNQX38my2AFOpcZFJJ8WiT5FNyjsITO/5.jpg",
  "scale": 1.5
}
Input Parameters
iou Type: numberDefault: 0.9Range: 0 - 1
iou threshold for filtering the annotations
crop Type: booleanDefault: false
crop the output
mask Type: booleanDefault: false
output mask
image (required) Type: string
Grayscale input image
imgsz Type: integerDefault: 1024Range: 0 - 2048
image size
text_prompt Type: string
text prompt for the model
better_quality Type: booleanDefault: false
better quality
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
image <class 'cog.types.Path'> /tmp/tmp2_wo61005.jpg
pre process /tmp/tmp2_wo61005.jpg
image 1/1 /tmp/tmp2_wo61005.jpg: 1024x1024 6 objects, 4214.3ms
Speed: 6.0ms preprocess, 4214.3ms inference, 6.3ms postprocess per image at shape (1, 3, 1024, 1024)
results
result_name: tmp2_wo61005.jpg
args.img_path: <class 'str'> /tmp/tmp2_wo61005.jpg True
resultPath
Version Details
Version ID
6652acb1cc178cc864e1da82faf5e7aa23d85a0b79257bcfc069c6effadb28d5
Version Created
June 28, 2023
Run on Replicate →