I have a question about the above code.
In my opinion, to make the mask, the above code will be revised in 'mask[:, len_keep:] = 0'.
I think your code is interpreted as masking in the range of 0 ~ len_keep.
Is there any reason you wrote your code as mask[:, :len_keep] = 0?
https://github.com/facebookresearch/mae/blob/efb2a8062c206524e35e47d04501ed4f544c0ae8/models_mae.py#L144
Hi!
I have a question about the above code. In my opinion, to make the mask, the above code will be revised in 'mask[:, len_keep:] = 0'. I think your code is interpreted as masking in the range of 0 ~ len_keep.
Is there any reason you wrote your code as
mask[:, :len_keep] = 0
?