Skip to content

[FEATURE] feature extraction stages #2373

Closed Answered by rwightman
jawi289o asked this question in Q&A
Discussion options

You must be logged in to vote

@jawi289o the model returned by features_only give you a model that produces the 5 feature maps you'd want to use with a unet, that is the whole point. I don't know why you'd want to do anything else if that is your goal.

There are 7 blocks but 2 of them are stride=1, the outputs for features_only are the deepest at each respective resolution. Beyond what features_only=True provides you, you can hack the models however you feel appropriate.. make a manual forward, etc but as I said, that's what features_only=True is doing for you, in a model agnostic way.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@rwightman
Comment options

@rwightman
Comment options

@jawi289o
Comment options

@rwightman
Comment options

Answer selected by jawi289o
@jawi289o
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #2371 on December 18, 2024 20:25.