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
FreeAdversarialTraining/main_free.py
Line 183 in d707740
is in1.clamp_(0, 1.0) should be in1.clamp_(0, 255.0) ? As "in1" has not been normalized yet.
The text was updated successfully, but these errors were encountered:
FreeAdversarialTraining/main_free.py Line 183 in d707740 in1.clamp_(0, 1.0) is in1.clamp_(0, 1.0) should be in1.clamp_(0, 255.0) ? As "in1" has not been normalized yet.
Yeah, I also have the same question. There may be similar question in validate_pgd function?
Sorry, something went wrong.
The pytorch transform ToTensor() applied on image datasets will output tensors in [0., 1.0].
ToTensor()
Yes, you're right.
No branches or pull requests
FreeAdversarialTraining/main_free.py
Line 183 in d707740
is in1.clamp_(0, 1.0) should be in1.clamp_(0, 255.0) ? As "in1" has not been normalized yet.
The text was updated successfully, but these errors were encountered: