Closed ImageBlue closed 1 month ago
Have you resolved it?
@ImageBlue could you please check whether SAM2 is successfully installed by running their notebooks?
@JunMa11 I have run the command pip install -e . and it showed Successfully installed SAM-2-1.0
python setup.py build_ext --inplace worked for me. Run the above command after building the model.
I'm running app.py in MedSAM2 in WSL. The environment is Ubuntu 20.04, Python 3.10, CUDA 12.3 and Pytorch 2.3.1. After uploading a video and running process, I draw box for a prompt and click Segment, then the application raises ImportError: /MedSAM2/sam2/_C.so: undefined symbol: _ZN3c1015SmallVectorBaseIjE8grow_podEPKvmm. The symbol _ZN3c1015SmallVectorBaseIjE8grow_podEPKvmm in /sam2/_C.so seems to be not defined.