pip install --upgrade pip --user
pip3 install --upgrade tensorflow-gpu --user
2018-08-18 18:16:01.500579: I T:srcgithub ensorflow ensorflowcoreplatformcpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2018-08-18 18:16:01.769002: I T:srcgithub ensorflow ensorflowcorecommon_runtimegpugpu_device.cc:1405] Found device 0 with properties: name: GeForce GTX 950 major: 5 minor: 2 memoryClockRate(GHz): 1.3545 pciBusID: 0000:01:00.0 totalMemory: 2.00GiB freeMemory: 1.64GiB
2018-08-18 18:16:01.774030: I T:srcgithub ensorflow ensorflowcorecommon_runtimegpugpu_device.cc:1484] Adding visible gpu devices: 0
2018-08-18 18:16:02.095489: I T:srcgithub ensorflow ensorflowcorecommon_runtimegpugpu_device.cc:965] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-08-18 18:16:02.099093: I T:srcgithub ensorflow ensorflowcorecommon_runtimegpugpu_device.cc:971] 0
2018-08-18 18:16:02.100631: I T:srcgithub ensorflow ensorflowcorecommon_runtimegpugpu_device.cc:984] 0: N
2018-08-18 18:16:02.102156: I T:srcgithub ensorflow ensorflowcorecommon_runtimegpugpu_device.cc:1097] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1401 MB memory) -> physical GPU (device: 0, name: GeForce GTX 950, pci bus id: 0000:01:00.0, compute capability: 5.2) Hello Tensorflow!
Process returned 0 (0x0) execution time : 2.327 s Press any key to continue