DQN-tensorflow icon indicating copy to clipboard operation
DQN-tensorflow copied to clipboard

I got error about use_gpu flag..... Could you help me out, please?

Open wonchul-kim opened this issue 8 years ago • 2 comments

Traceback (most recent call last): File "main.py", line 69, in tf.app.run() File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 44, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "main.py", line 56, in main raise Exception("use_gpu flag is true when no GPUs are available") Exception: use_gpu flag is true when no GPUs are available

The above is the error message.

Could you help me out??

wonchul-kim avatar Mar 09 '17 10:03 wonchul-kim

Please execute main.py with --use_gpu=False

serialx avatar Mar 09 '17 11:03 serialx

If you have gpu and its configured properly (e.g. Nvidia gpu require propriate drivers and cudnn library installed) than you probably should install pip install tensorflow_gpu package rather than tensorflow. Error like that might happen that you have tensorflow installed without gpu support (will always return False when checking if GPU is installed.

cypreess avatar May 15 '17 21:05 cypreess