No project description provided
Project description
This repo is a packaged version of the segment-anything model.
Installation
pip install metaseg
Usage
from metaseg import SegAutoMaskGenerator
SegAutoMaskGenerator(
model_type="default",
checkpoint_path="sam_vit_h_4b8939.pth",
image_path= "test.png",
device="cuda",
show_mask=True,
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
metaseg-0.1.3.tar.gz
(30.9 kB
view hashes)