Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

fix integer bug (#239) #245

Merged
merged 1 commit into from
Dec 4, 2018
Merged

fix integer bug (#239) #245

merged 1 commit into from
Dec 4, 2018

Conversation

jario-jin
Copy link
Contributor

In maskrcnn_benchmark/modeling/roi_heads/mask_head/inference.py
change line 125-126 to
w = int(box[2] - box[0] + TO_REMOVE)
h = int(box[3] - box[1] + TO_REMOVE)

@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

In maskrcnn_benchmark/modeling/roi_heads/mask_head/inference.py
change line 125-126 to
w = int(box[2] - box[0] + TO_REMOVE)
h = int(box[3] - box[1] + TO_REMOVE)
Copy link
Contributor

@fmassa fmassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@fmassa fmassa merged commit 38ce7a1 into facebookresearch:master Dec 4, 2018
nprasad2021 pushed a commit to nprasad2021/maskrcnn-benchmark that referenced this pull request Jan 29, 2019
In maskrcnn_benchmark/modeling/roi_heads/mask_head/inference.py
change line 125-126 to
w = int(box[2] - box[0] + TO_REMOVE)
h = int(box[3] - box[1] + TO_REMOVE)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants