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

what the purpose of those code? #7

Open
zhijiejia opened this issue Nov 7, 2020 · 1 comment
Open

what the purpose of those code? #7

zhijiejia opened this issue Nov 7, 2020 · 1 comment

Comments

@zhijiejia
Copy link

zhijiejia commented Nov 7, 2020

`

    msk[..., 1][msk[..., 2:].max(axis=2)] = False
    msk[..., 3][msk[..., 2]] = False
    msk[..., 4][msk[..., 2]] = False
    msk[..., 4][msk[..., 3]] = False
    msk[..., 0][msk[..., 1:].max(axis=2)] = False

`
I have a question, what does the above code do? The code is in ‘train50_cls_cce.py’ , about at 235 line. I've been trying to figure out what this means all day...

@mmuneeburahman
Copy link

@zhijiejia Did you understand anything??
@vdurnov Can you 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

2 participants