I have tried multiple resources on installing tensorflow-gpu. I have a graphic card of GeForce GTX 1060 3GB. I installed both CUDA and CuDNN 10.0 and set the path according to the guide. However, I cannot use the tensorflow-gpu. Whenever I tried to check whether it has gpu or not, it gives me an error. Is there anyone of you have the best resources that you guys have followed or any advice?
#1st way of checking
>>> import tensorflow as tf
>>> tf.Session()
2019-11-22 18:29:44.166767: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
<tensorflow.python.client.session.Session object at 0x000002855CF70888>
#2nd way of checking
from tensorflow.python.client import device_lib
print(device_lib.list_local_devices())
[name: "/device:CPU:0"
device_type: "CPU"
memory_limit: 268435456
locality {
}
incarnation: 3258227305323620158
]