Have you checked with
nvidia-smi
and see if your graphic driver is working? Also, have you checked the version of your tensorflow-gpu ? check for compatible configurations here https://www.tensorflow.org/install/source#tested_source_configurations
I tried with the following configuration on pycharm with windows 10 and it worked!!
Follow the instructions mentioned in https://stackoverflow.com/a/51307381/2562870
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.