Skip to content

Comments

Add exclusive argument for loading separate decoder paths#1166

Merged
constantinpape merged 1 commit intodevfrom
add-exclusive-decoder-path
Feb 14, 2026
Merged

Add exclusive argument for loading separate decoder paths#1166
constantinpape merged 1 commit intodevfrom
add-exclusive-decoder-path

Conversation

@anwai98
Copy link
Collaborator

@anwai98 anwai98 commented Feb 13, 2026

This PR aims to address and fix #1137. It basically hints on the idea of how to load image encoder weights (eg. vit_b.pt), which is easily possible at the moment, but including vit_b_encoder.pt) needs quite some engineering effort.

This would help support a) the other open-source models mentioned in the PR, b) our older version models, and c) support loading of models for people who don't have internet access on their office machines, but would like to use automatic segmentation, by transferring decoder weights and try loading them.

What do you think? @constantinpape

@anwai98 anwai98 changed the base branch from master to dev February 13, 2026 13:56
@anwai98 anwai98 linked an issue Feb 13, 2026 that may be closed by this pull request
Copy link
Contributor

@constantinpape constantinpape left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@constantinpape constantinpape merged commit d73650c into dev Feb 14, 2026
6 checks passed
@constantinpape constantinpape deleted the add-exclusive-decoder-path branch February 14, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to use additional models that were used for experiments in the publication Update get_sam_model design to allow passing decoder weights

2 participants