Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoder Features Extraction #288

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
encoder_features net_desc.py
  • Loading branch information
TanyaChutani authored Dec 2, 2024
commit eb9017a039ab3d379ef37433d777d5a8ffb3c241
2 changes: 2 additions & 0 deletions models/hovernet/net_desc.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ def forward(self, imgs):
d[1] = crop_op(d[1], [36, 36])

out_dict = OrderedDict()
out_dict["encoder_features"] = d3

for branch_name, branch_desc in self.decoder.items():
u3 = self.upsample2x(d[-1]) + d[-2]
u3 = branch_desc[0](u3)
Expand Down