facebookresearch / facebookresearch/segment-anything

Train the SAM directly

Open
#272 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
54.9k
Forks
6.4k
PR merge metrics
No merged PRs in 30d

Description

I tried to train the sam model with checkpoint directly, but it had no change after loss.backward() though I use sam.train() before. Do I need other configuration?

Contributor guide

Open the contributing guide

Research direction

The issue names no file or test. Start by reproducing the checkpoint-based training attempt with sam.train() and loss.backward(), then inspect how the checkpoint and optimizer configuration are connected. Done means identifying the required configuration or confirming a documented limitation with a minimal reproduction and explanation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.