An open API service indexing awesome lists of open source software.

https://github.com/yatenglg/isat_with_segment_anything_backend

Support ISAT to use remote server for SAM encoding.
https://github.com/yatenglg/isat_with_segment_anything_backend

Last synced: 29 days ago
JSON representation

Support ISAT to use remote server for SAM encoding.

Awesome Lists containing this project

README

          

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)
```shell
# create environment
conda create -n isat_backend_env python=3.8

# activate environment
conda activate isat_backend_env
```

- Install
```shell
pip install isat-sam-backend
```

- Run

**The feature map of the SAM HQ model is too large, don`t use it on remote server.**
```shell
# 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
```shell
isat-sam-backend model --list
```

- download model
```shell
isat-sam-backend model --download [model_name]
```

- remove model
```shell
isat-sam-backend model --remove [model_name]
```