Sam2 Indir ((top)) Here

# 1. Create environment (recommended) conda create -n sam2 python=3.10 conda activate sam2 git clone https://github.com/facebookresearch/segment-anything-2.git cd segment-anything-2 3. Install dependencies pip install -e . 4. Download a model checkpoint wget https://dl.fbaipublicfiles.com/segment_anything_2/072824/sam2_hiera_large.pt