IDEA-Research / Grounded-Segment-Anything

Grounded SAM: Marrying Grounding DINO with Segment Anything & Stable Diffusion & Recognize Anything - Automatically Detect , Segment and Generate Anything
https://arxiv.org/abs/2401.14159
Apache License 2.0
14.11k stars 1.31k forks source link

Can't install pip install --no-build-isolation -e GroundingDINO #490

Open JustinKai0527 opened 2 months ago

JustinKai0527 commented 2 months ago

Hi, I am facing some problem about the installation. I do following command

git clone https://github.com/Shilin-LU/MACE.git conda create -n mace python=3.10 conda activate mace conda install pytorch==2.0.1 torchvision==0.15.2 pytorch-cuda=11.7 -c pytorch -c nvidia export AM_I_DOCKER=False export BUILD_WITH_CUDA=True

cd MACE git clone https://github.com/IDEA-Research/Grounded-Segment-Anything.git cd Grounded-Segment-Anything

Install Segment Anything:

python -m pip install -e segment_anything

Install Grounding DINO:

pip install --no-build-isolation -e GroundingDINO

but something wrong happen saying my image I check using my terminal is nvcc --version is cuda 12.3 but I use export CUDA_HOME=/path/to/cuda-11.7/ I got another error image also my nvcc --version is still 12.3 but the above cuda version is mismatch doesn't exist but go this another error ..... thx for helping me!

littlefiveRobot commented 2 weeks ago

hey, you should change your path,such as "CUDA_HOME=/usr/local/cuda-12.1"