how to get features from intermediate layers ? #1953
-
Thanks for the excellent project. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Maybe my understanding of the features only is not right. |
Beta Was this translation helpful? Give feedback.
-
Hi @Jamesgender You can use I want this answer could help you. Thank you. Hankyul. |
Beta Was this translation helpful? Give feedback.
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, thefeatures_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.