Comments (1)
This is a pretty serious bug. E.g. https://github.com/cleverhans-lab/cleverhans/blob/master/tutorials/torch/cifar10_tutorial.py does not work with norm == 2 and adversarial training turned on. The loss.backward()
die with something like
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.FloatTensor [128, 3, 32, 32]], which is output 0 of MulBackward0, is at version 1; expected version 0 instead. Hint: the backtrace further above shows the operation that failed to compute its gradient. The variable in question was changed in there or anywhere later. Good luck!
I'd fix it except, you know, my six month old PR for another bug hasn't been looked at 😒.
from cleverhans.
Related Issues (20)
- Saliency Map Method (JSMA) for Cleverhans 4.0? HOT 1
- There is no torch package when use command pip install cleverhans!Why?HELP! HOT 3
- Survey on globally distributed software engineering HOT 1
- Torch implemantation of the fast gradient method HOT 5
- Is there any problem in my code of FGSM and I-FGSM? plz HELP HOT 14
- Adam for PGD / BIM attacks HOT 1
- ModuleNotFoundError: No module named 'cleverhans.utils_tf'
- ModuleNotFoundError: No module named 'cleverhans.attacks' HOT 4
- DeepFool and ElasticNet attacks for TF2 in cleverhans v4.0.0 HOT 1
- Is there code ZOO: Zeroth Order Optimization Based Black-box Attacks to Deep Neural Networks without Training Substitute Models?
- Fast gradient Method doesn't work for double precision: Suggestion for the fix HOT 1
- Predicted Class Labels HOT 1
- Tensorflow 2 C&W2 implementation targeted bug
- Distributed Adversarial Examples Generation
- JAX attacks depend on experimental features that does not exist
- 'get_shape' Attribute
- Missing non-linearity in torch/mnist_tutorial.py HOT 1
- Issue Running CW Attack with PyTorch
- TF2: CarliniWagnerL2 fails if argument `y` is provided and batch size is unequal to number of samples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cleverhans.