-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install SAM in CVAT | macOS #6441
Comments
Hi @DP1701 Try to deploy without the script:
|
Hi @bsekachev The installation worked. However, I get the following message in CVAT when I want to use SAM. This happens when I try to work with the interactor. Do you have any idea what this could be? |
Probably it is a problem on the nuclio side, try deleting the model first nuctl delete function pth-facebookresearch-sam-vit-h and deploy as previously mentioned. |
Now I get the following message:
|
I am in the .../cvat/serverless folder |
Now it works for me. Weird. Here's what I did:
After that, I increased the RAM memory at Docker to 16 GB. If I stop at point 3, I get the error message "Interaction error occured". |
Hey @DP1701 |
I'm getting this error. Please help @DP1701 |
@DP1701 I somehow manged to follow you footsteps. But I'm still getting Interaction error occurred |
@sushilkhadkaanon Have you increased the amount of RAM allowed in the Docker Engine? The default is 8GB but I had to increase it to 16GB. |
@sawhney-medha I installed nuclio before I installed cvat. I have an Intel-based Mac. To install nuclio, check out this guide. |
@sushilkhadkaanon I used "darwin" instead of "linux". It seemed to work. But now I ran into a new issue |
@DP1701 did you figure out how to get shopt: globstar: to work? |
I've finally managed to get SAM running on an M1 Max MacBook Pro. Below are a few tips to help you achieve the same:
|
Please tell me how to deal with this error Call stack: stderr: #1 [internal] load build definition from Dockerfile.processor #2 [internal] load metadata for docker.io/library/ubuntu:22.04 #3 [internal] load .dockerignore #4 [ 1/13] FROM docker.io/library/ubuntu:22.04@sha256:adbb90115a21969d2fe6fa7f9af4253e16d45f8d4c1e930182610c4731962658 #5 [ 2/13] WORKDIR /opt/nuclio/sam #6 [ 3/13] RUN apt-get update && apt-get -y install curl git python3 python3-pip ffmpeg libsm6 libxext6 #7 [internal] load build context #8 [ 4/13] RUN pip3 install torch torchvision torchaudio pycocotools matplotlib onnxruntime onnx
|
Hello together,
My actions before raising this issue
I have read and followed the following instructions. CVAT, Nuclio and Servless support are installed and working.
SAM in CVAT
CVAT with servless support
Steps to Reproduce (for bugs)
docker compose -f docker-compose.yml -f components/serverless/docker-compose.serverless.yml up -d --build
docker exec -it cvat_server bash -ic 'python3 ~/manage.py createsuperuser'
sudo chmod +x nuctl-<version>-linux-amd64 sudo ln -sf $(pwd)/nuctl-<version>-linux-amd64 /usr/local/bin/nuctl
cd serverless && ./deploy_cpu.sh pytorch/facebookresearch/sam/nuclio/
Expected Behaviour
After the installation of SAM, the account line should actually show the status ready.
Current Behaviour
But I see this:
Possible Solution
I have already tried to update the bash and activated the globstar option. It does not work.
Instruction
Context
Your Environment
git log -1
):docker version
(e.g. Docker 17.0.05):Docker
macOS 12.6.7
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container
The text was updated successfully, but these errors were encountered: