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 using CPU fails on certain images when Swin Transformer backbone was used #41

Open
eric-kwok-nt opened this issue Mar 31, 2022 · 0 comments

Comments

@eric-kwok-nt
Copy link

The error that I have encountered when inferencing using the swin transformer on CPU was ERROR - upper bound and larger bound inconsistent with step sign

Such error disappears when inference was performed on GPU.

After some investigation it was found that when running on CPU, the bbox (batch size 1) that was provided to the function _do_paste_mask in the file mmdet/models/roi_heads/mask_heads/fcn_mask_head.py has negative coordinates, causing it to fail.

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

1 participant