We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The pixel range of ULP in tiny-imagenet/train_ULP.py is [0,255].
However, when training the clean/poisoned models, the pixel range of inputs is [0, 1] because of the transforms.ToTensor() in tiny-imagenet/train_clean_model.py
See transforms.ToTensor doc.
I wonder if the inconsistency is made purposely or is a bug. Because for CIFAR-10 experiments, the range is the same [0, 255].
By the way, I also wonder why the range [0, 255] was used instead of the usual [0, 1]. Are there any particular reasons?
Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The pixel range of ULP in tiny-imagenet/train_ULP.py is [0,255].
However, when training the clean/poisoned models, the pixel range of inputs is [0, 1] because of the transforms.ToTensor() in tiny-imagenet/train_clean_model.py
See transforms.ToTensor doc.
I wonder if the inconsistency is made purposely or is a bug. Because for CIFAR-10 experiments, the range is the same [0, 255].
By the way, I also wonder why the range [0, 255] was used instead of the usual [0, 1]. Are there any particular reasons?
Thanks.
The text was updated successfully, but these errors were encountered: