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

Bit-wise NOT operation "~" for padding_mask in data. #44

Open
Lionel-Lee opened this issue Aug 23, 2023 · 0 comments
Open

Bit-wise NOT operation "~" for padding_mask in data. #44

Lionel-Lee opened this issue Aug 23, 2023 · 0 comments

Comments

@Lionel-Lee
Copy link

Lionel-Lee commented Aug 23, 2023

Hi Zikang,

I noticed you used the bit-wise NOT operation "~" in the argoverse v1 dataset to process padding_mask. You set padding_mask to True or False and use "~padding_mask" to calculate the opposite. However, from my understanding, "~" is used for bit-wise NOT, which means ~True=-2 and ~False=-1, both ~True and ~False are True because they are not 0. I'm kind of confused by this, and I guess you meant to use not padding_mask or 1-padding_mask. Could you please clarify it? Thanks!

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