Skip to content

how to get features from intermediate layers ? #1953

Closed Answered by hankyul2
Jamesgender asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Jamesgender

You can use features_only=True to extract intermediate features for training the U-NET decoder. As can be seen in _features.py, the features_only=True option is just building a helper class to extract the feature and does not interference with the pre-trained weight. If you want to know about how to use it, please see this docs.

I want this answer could help you. Thank you.

Hankyul.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Jamesgender
Comment options

Answer selected by Jamesgender
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants