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

Instance Segmentation on the Whole Image #12

Open
zhaoyangwei123 opened this issue Jan 4, 2023 · 1 comment
Open

Instance Segmentation on the Whole Image #12

zhaoyangwei123 opened this issue Jan 4, 2023 · 1 comment

Comments

@zhaoyangwei123
Copy link

@LiWentomng
In your paper, you mentioned restricting the level set to gt bounding box for segmentation and also mentioned that the training result is poor on the whole image.
How can I get the boxlevelset to run on the whole image?

@LiWentomng
Copy link
Owner

Hello, @zhaoyangwei123
The gt bounding box can prevent the interference from background and other objects. We achieve this goal by the binary box-based mask (box_mask_target) as following,

           mask_scores_phi = mask_scores_concat * box_mask_target
           img_target_wbox = img_target * box_mask_target
           high_feature = torch.cat((deep_stru_feature_img, deep_stru_feature_lst), dim=1) * box_mask_target

The region outside gt box for level set is zero, which are not participate in optimization.

You can remove the box_mask_target to run on the whole image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants