第九周学习总结
第八周学习总结
1.安装tensorflow
参考教程:https://www.cnblogs.com/lvsling/p/8672404.html
验证tensorflow成功安装的程序,教程中的程序在我的安装环境下不能运行:
import tensorflow as tf tf.compat.v1.disable_eager_execution() hello = tf.constant('Hello, TensorFlow!') config = tf.compat.v1.ConfigProto(allow_soft_placement=True) config.gpu_options.per_process_gpu_memory_fraction = 0.9 sess= tf.compat.v1.Session(config=config) print(sess.run(hello))
配置到pycharm中,真实经历参考下面一篇博客,
https://blog.csdn.net/yeweij226/article/details/103849358
2.