A minimal example to reproduce RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn
when using IBM ART.
- Dataset: CIFAR-10
- Model: PyTorch pretrained ResNet-18
- Attack: PGD
- To see the error: Run
python eval.py --config-file ./config.json