↓ 2 callersClassSAMSegmentationDatasetWraps a HF dataset into the format expected by SAM/SAM2 processors. Each sample must contain an image, a binary mask, and a prompt (bbox or p
plugins/hugging-face/skills/vision-trainer/scripts/sam_segmentation_training.py:49