Grounded-Segment-Anything icon indicating copy to clipboard operation
Grounded-Segment-Anything copied to clipboard

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

Open JustinKai0527 opened this issue 10 months ago • 2 comments

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!

JustinKai0527 avatar Apr 22 '24 03:04 JustinKai0527

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

littlefiveRobot avatar Jun 19 '24 05:06 littlefiveRobot

1 make sure that your torch version is compatible with CUDA 12.3 2 CUDA_HOME=/usr/local/cuda-12.3 @JustinKai0527

simranbajaj06 avatar Sep 13 '24 13:09 simranbajaj06