RISE
RISE copied to clipboard
Unclear variables
In def generate_masks(N, s, p1):
Couldn't find what does N,s,p1 stands for in the code. I assume N stands for the number of filters generated? Since variable names don't imply their purpose, Commenting on its purpose or what it stands for would be great.
Fair point, I will update the repository soon.
Meanwhile, kindly refer to the section 3.2 Mask generation of the paper. https://arxiv.org/pdf/1806.07421.pdf
N is the number of masks used, (s, s) is the size of the smaller square binary masks, p is the probability of each pixel in the smaller masks being set to 1.