mnist_tutorial_fgsm.py IndexError: index 4 is out of bounds for axis 0 with size 1
edmundang1994 opened this issue · comments
edmundang1994 commented
Hi, I was trying out the tutorial from paddle.md. I have managed to trained with mnist_model.py, but can't perform the attack. It kept prompting the
IndexError: index 4 is out of bounds for axis 0 with size 1
The only change I added before facing the above issue was to the mnist_tutorial_fgsm.py is paddle.enable_static() at line 44.
Please help!!
Lenny commented
having the same issue. Any solution yet?