Skip to content

Commit

Permalink
Update dynamic_mask_head.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stevewongv committed Jul 18, 2022
1 parent a1b058e commit aa6ddc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adet/modeling/ssis/dynamic_mask_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ def convert_locations(relative_coords,H,W):
asso_mask_logits = asso_mask_logits.reshape(-1, 2, H, W)
boundary_logits = mask_logits[:,1:2]
asso_boundary_logits = asso_mask_logits[:,1:2]
mask_logits = mask_logits[:,0:1]
asso_mask_logits = asso_mask_logits[:,0:1]
else:
mask_logits = mask_logits.reshape(-1, 1, H, W)
asso_mask_logits = asso_mask_logits.reshape(-1, 1, H, W)
Expand Down

0 comments on commit aa6ddc7

Please sign in to comment.