Closed TanYuzhen closed 1 year ago
Hi @TanYuzhen I have tried to resolve the problem in this notebook. Can you please use this google colab for reference. https://colab.research.google.com/drive/1X6Y1CGYlklQ3lhdZblTfSYlLqNNVY4Gj?usp=sharing
The running google colab notebook was provided.
However,when I run the code,it always produces the error : the x_adv.grad is None
But the correct thing should be not None.Can you help me to solve the problem?
And,I read your code,finding that you didn't use the function forward in the class pgd ,I'm not sure whether I'm wrong
Thanks a lot!