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.
- 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]
- 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]