Loading...
Loading...
Create and work with Meta SAM 3 (facebookresearch/sam3) for open-vocabulary image and video segmentation with text, point, box, and mask prompts. Use when setting up SAM3 environments, requesting Hugging Face checkpoint access, generating inference scripts, integrating SAM3 into Python apps, fine-tuning with sam3/train configs, running SA-Co or custom evaluations, or debugging CUDA/checkpoint/prompt pipeline issues.
npx skill4agent add jakerains/agentskills sam3| User intent | Action |
|---|---|
| Install SAM 3 and run first inference | Follow setup in |
| Add SAM 3 to an existing Python app | Generate starter code with |
| Verify environment before setup/inference | Run |
| Fine-tune on custom data | Use |
| Run SA-Co benchmarks or eval custom predictions | Use eval commands in |
| Debug runtime failures | Run the troubleshooting checklist in |
facebook/sam3conda create -n sam3 python=3.12 -y
conda activate sam3
pip install torch==2.7.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
git clone https://github.com/facebookresearch/sam3.git
cd sam3
pip install -e .hf auth loginpython scripts/sam3_preflight_check.py --strictreferences/setup-and-inference.mdpython scripts/create_inference_starter.py --mode image --output ./sam3_smoke.pyreferences/setup-and-inference.mdSam3Processorbuild_sam3_video_predictorreferences/training-and-eval.mdsam3/train/configsreferences/training-and-eval.mdscripts/eval/goldscripts/eval/silverscripts/eval/vevalsam3.model_builderreferences/setup-and-inference.mdreferences/training-and-eval.mdscripts/create_inference_starter.pyscripts/sam3_preflight_check.py