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

A problem about noise generating. #15

Open
zhangyisheng0629 opened this issue May 24, 2023 · 1 comment
Open

A problem about noise generating. #15

zhangyisheng0629 opened this issue May 24, 2023 · 1 comment

Comments

@zhangyisheng0629
Copy link

Hello author, the noise in your experiments was generated after data augmentation, but the noise was added to the clean datasets before the data augmentation. Is this not rigorous ? Thank you very much!

@HanxunH
Copy link
Owner

HanxunH commented May 24, 2023

Hi,

The noise was generated without augmentation by setting the transform to the same one as the test set transform. This is usually just the ToTensor operation.

https://github.com/HanxunH/Unlearnable-Examples/blob/28e1e417259ce5baf0d3e68d3408d9f8ecc3024f/dataset.py#LL113C1-L114C1

The noise added before data augmentation for training is due to the experimental setting. Users who wish to protect their data, usually do not have access to the training process, including data augmentation. Considering that user post their photo on social media, they do not control how these images are augmented if it is being used to train models.

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