Skip to content

How to save features extracted by the backbone #428

Answered by ashwinvaidya17
cyj95 asked this question in Q&A
Discussion options

You must be logged in to vote

You should call the print statement after _ = self.backbone(input_tensor) line (95). It is because hooks are added to the backbone and only when the forward function of the backbone is called, the features dictionary is populated.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by djdameln
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #399 on July 11, 2022 13:45.