Skip to content

cxchhh/sam_q

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantization of SAM with gradio demo

usage

Clone this repo to your local directory, and download the ViT weights using following command:

./download.sh

and then create the python environment:

conda create -n samq python=3.10
conda activate samq
pip install -r requirements.txt

run the model:

python run.py

It will be quite a slow start for the first time because it needs to set up the optimal quantization parameters. After that, it will start faster.

About

Quantization of SAM with gradio demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published