Closed lith0613 closed 5 years ago
Did you run the code in the notebook to check if the GPU is enabled? You can also try this StackOverflow post. If it's enabled for TensorFlow, it should be enabled for Keras.
Also, the repo now supports Google Colab, so you can also try out a free GPU cloud instance that way.
Thanks, I found I have just installed the cpu version tensorflow
I try to use the gpu in the one-pixel attack for imagenet, because the model run on imagenet is too slow, but I use os.environ["CUDA_VISIBLE_DEVICES"] seems did not work, can you give some help. Thanks so much !