You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for releasing the code.
I found that you are using cls_id to choose the sample-wise noise from perturb_tensor. Should I change cls_id to the data index of the dataloader to choose the sample-wise noise from perturb_tensor?
The text was updated successfully, but these errors were encountered:
This may depend on how the noise is generated. I'm not sure what do you mean by using cls_id to choose the sample-wise noise from perturb_tensor.
In ImageNetMini class, I used the cls_id to select the first 100 classes, and use this dataset to generate the noise (perturb_tensor). So the perturb_tensor only contains the noises for images of the first 100 classes. When the noise is applied to the data, the perturbed dataset inherits from ImageNetMini class, the ordering should be the same with the perturb_tensor.
Thanks for releasing the code.
I found that you are using cls_id to choose the sample-wise noise from perturb_tensor. Should I change cls_id to the data index of the dataloader to choose the sample-wise noise from perturb_tensor?
The text was updated successfully, but these errors were encountered: