facebookresearch / facebookresearch/sam3

Training SAM3 but freezing specific layers. Want to finetune on new data but keep modifiers

Open
#455 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’m looking to fine-tune SAM 3 on a custom dataset of industrial objects that the base model doesn't recognize well (specifically doesn't recognize the word). I have a question about how finetuning affects the model's ability to understand modifiers (adjectives) that aren't in my training data.

My training data is labeled with simple noun phrases (e.g., just forklift or pallet_jack). The labels don't describe the object's state or color.
If I fine-tune on this data, will the model lose its ability to understand adjectives like "yellow" vs "orange" because I'm never reinforcing them during training? Is there a current method to freeze certain parts to maintain SAM3's ability to use adjectives and modifiers like color, shape, size etc.

As a simplified example, if we were using the forklift example, my dataset would have both of these objects labeled as just forklift

Image

Image

Contributor guide

Open the contributing guide

Research direction

Start with the repository's fine-tuning code and example notebooks to determine whether freezing specific layers is supported. Compare the available training controls with the requested preservation of modifier understanding; done would require a clear maintainer answer or an explicitly scoped change.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.