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

model/utils/creator_tool.py#L125 #5

Closed
jiarenyf opened this issue Jan 3, 2018 · 2 comments
Closed

model/utils/creator_tool.py#L125 #5

jiarenyf opened this issue Jan 3, 2018 · 2 comments

Comments

@jiarenyf
Copy link

jiarenyf commented Jan 3, 2018

Thank you for your effort, and I wonder that should the pos_roi_per_this_image be neg_roi_per_this_image in model/utils/creator_tool.py#L125 ?

@chenyuntc
Copy link
Owner

I'm afraid that you mixed them up, gt_roi_label looks like:
[pos, pos, pos, pos, pos, ..., pos, neg, neg, neg...]
|--- pos_roi_per_this_image ---|

There pos_roi_per_this_image items at the begining of gt_roi_labelis positive,
gt_roi_label[pos_roi_per_this_image:] means items after the pos_roi_per_this_imageth.

@chenyuntc
Copy link
Owner

Feel free to reopen it if you have any questions.

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