Skip to content

yatengLG/ISAT_with_segment_anything_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISAT_with_segment_anything_backend

Support ISAT to use remote server for SAM encoding

Deploy isat-sam-backend to a remote server.

Run isat-sam on the local machine and connect to the remote server to perform sam encoding.

GitHub forks GitHub forks PyPI - Version Pepy Total Downlods

Use

install

  • Create a conda environment(recommended, optional)
# create environment
conda create -n isat_backend_env python=3.8

# activate environment
conda activate isat_backend_env
  • Install
pip install isat-sam-backend
  • Run

The feature map of the SAM HQ model is too large, don`t use it on remote server.

# default model: mobile_sam.pt
# default host: 127.0.0.1 
# default port: 8000

isat-sam-backend --checkpoint [model_name] --host [ip] --port [port]

Model manage

  • list model
isat-sam-backend model --list
  • download model
isat-sam-backend model --download [model_name]
  • remove model
isat-sam-backend model --remove [model_name]

About

Support ISAT to use remote server for SAM encoding.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages