Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

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?

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant