-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
integrate SAM (segment anything) encoder with Unet #757
Open
Rusteam
wants to merge
26
commits into
qubvel-org:main
Choose a base branch
from
Rusteam:sam
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
4beb571
add sam encoder and decoder
3dc3235
refactor sam vit encoder to common format
85565ce
refactor sam decoder init
1143668
add segmentation head to sam
48033cb
add sam to encoder and model docs
1f1eaca
remove sam encoders from test_models
f37c9b3
wip weights
6b36927
load pretrained sam state dict for a model
64a2516
update readme with sam model and encoders
4d1144e
use iou scaling to avoid errors with torch ddp
c1a9319
set unused sam modules to require grad False
2ed775d
set unused sam modules to None
9c93eb4
remove prompt encoder from sam
9731e8f
Merge pull request #1 from Rusteam/sam-ddp
Rusteam 500779e
add segment-anything to reqs
b301d30
integrate sam encoder to Unet model
12a0db6
ensure sam encoder weights loading
a049c88
update segment-anything package source in reqs
b8189e0
Integrate SAM's image encoder with Unet
Rusteam e6cfdc9
remove sam decoder as it's not stable yet
9b29124
minor changes from PR review
e968719
Merge branch 'master' into sam
qubvel 5edc0ee
use vit_depth to control sam vit depth
e5c4bc4
rm changes from pan model
c5bc356
implement skip connections for sam vit encoder
f1ac494
Merge branch 'master' into sam
qubvel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor sam decoder init
- Loading branch information
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a pip package? probably need to add to reqs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just added it to reqs, or should we make it optional?