facebookresearch / facebookresearch/sam3

Custom Dataset Structure

Open
#431 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11.7k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

i want to finetune sam3 on my custom dataset. I just want to ask what should be the structure of the dataset folder.
for example this is a proposed structure:
dataset_name/
├── train/
│ ├── image1.jpg
│ ├── image2.jpg
│ └── ...
├── valid/
│ ├── image1.jpg
│ ├── image2.jpg
│ └── ...
├── test/
│ ├── image1.jpg
│ ├── image2.jpg
│ └── ...
├── train_annotations.json
├── valid_annotations.json
└── test_annotations.json
should the annotations be in the dataset folder, or inside another folder called annotations? or inside each train, test, val?

Contributor guide

Open the contributing guide

Research direction

The issue names no file, test, or entry point. Start by locating the SAM 3 fine-tuning dataset loader and any existing dataset documentation, then verify the expected image splits and annotation paths. Done means documenting one unambiguous folder layout and annotation location for custom datasets.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, machine-learning
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.