HumanSignal/label-studio-ml-backend

SAM2 docker image not working

Opened this issue · 4 comments

Hi,

I tried to build the docker image using the below command
docker-compose up
The docker image downloads all the necessary packages but the /app/start.sh does not execute. I have attached a snippet of the error below.
image

@lovelesh have you tried it on a windows machine? i experienced the same problem as the start.sh file had CRLF line endings. After switching the line endings to LF and rebuild the image, it worked.

@Metareflektor Thanks for the tip, it worked. But do you know how to solve the issue of "RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx"

@Metareflektor Thanks for the tip, it worked. But do you know how to solve the issue of "RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx"

Seems that the GPU is not available within the container. Under Windows you need the proper setup to get GPUs running (WSL2, correct Driver and somewhat new Win 10 or Win 11)

@Metareflektor Do you have any resources for the steps?, it will be a great help. I'm trying to get it working from for days now