问题
- 通过控制台直接输出,可以正常输入调用tensorflow gpu
- 测试代码:
python -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
- 测试代码:
- 使用pycharm启动之后,错误提示 无法找到gpu了
python -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
文章评论