HarborYuan / ovsam

[ECCV 2024] The official code of paper "Open-Vocabulary SAM".
https://www.mmlab-ntu.com/project/ovsam
Other
945 stars 28 forks source link

huggingface space failed #36

Closed tanshuai0219 closed 3 months ago

tanshuai0219 commented 4 months ago

Hey, the huggingface space fails to work.

HarborYuan commented 3 months ago

Hi @tanshuai0219 ,

Thanks for your reporting. I have restarted the demo on HuggingFace.

A message for the future HuggingFace demo-related problem: Please directly send an email to me. I will try to fix it ASAP. If you want to try ovsam immediately, you can also refer to README to deploy the ovsam demo locally, which can be done quickly with just a few commands.

git lfs install
git clone https://huggingface.co/spaces/HarborYuan/ovsam ovsam_demo
cd ovsam_demo
conda create -n ovsam_demo python=3.10  && conda activate ovsam_demo
python -m pip install gradio==4.7.1
python -m pip install -r requirements.txt
python main.py