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

meaning of syntax : ”encoded_box[:, -1][assign_mask] = iou[assign_mask]” #142

Open
AllanZuo opened this issue Jul 19, 2018 · 0 comments

Comments

@AllanZuo
Copy link

I don't anderstand the following codes:
what is in encoded_box after execute this code?
encoded_box[:, -1][assign_mask] = iou[assign_mask]

And what is the output of ”encoded_box[:, :2][assign_mask] ”?

encode_box is a tensor ande shape likes [[xmin,ymin,xmax,ymax],...].assign_mask is a tensor of [true,false,.....].
i just can't anderstand the syntax.who can help to explain it?

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