HumanSignal / HumanSignal/label-studio-ml-backend
SAM2 updated upstream to 2.1 which breaks the SAM2 docker build
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 490
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 3
Description
Hi,
SAM2 was upgraded to model 2.1. The Download script for checkpoints downloads now by default the 2.1 version.
To fix it, i had to comment in the old 2.0 models (as i tried it manually after issues with the docker version).
The docker build works, but when starting the docker image through docker compose, the following error message happens:
`
FileNotFoundError: [Errno 2] No such file or directory: '/segment-anything-2/checkpoints/sam2_hiera_large.pt'
`
You can see the new checkpoint download script with commented out 2.0 models here: https://github.com/facebookresearch/sam2/blob/main/checkpoints/download_ckpts.sh
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.