os | support | remark |
---|---|---|
ubuntu | ✔️ | |
mac | ✔️ | |
windows | ✔️ |
Install "autolabel" by the following command.
# install sam2
pip3 install 'git+https://github.com/facebookresearch/segment-anything-2.git'
# install autolabel
git clone https://github.com/wheelos/autolabel.git
cd autolabel & pip3 install -e .
download pretrained model
wget -P autolabel/checkpoints/ https://dl.fbaipublicfiles.com/segment_anything_2/072824/sam2_hiera_large.pt
You can easily automatically label images using the following command.
autolabel -c=autolabel/config/image_segment.yaml
After the execution is completed, the marked results will be displayed. Press any key to exit!
- ImportError: libGL.so.1: cannot open shared object file: No such file or directory
pip3 install opencv-python-headless