TensorFlow
KG不放弃
这个作者很懒,什么都没留下…
展开
-
tensorflow安装
1. windows下的anaconda下安装tensorflow(CPU) 1. 安装:以管理员身份运行cmd,命令行输入:pip install tensorflow 2. 更新:以管理员身份运行cmd,命令行输入:pip install --upgrade tensorflow 3. 参考网址:https://www.tensorflow.org/install/pip ...原创 2019-03-09 16:11:44 · 73 阅读 · 0 评论 -
tensorflow运行报错收集
001: 问题描述:训练模型时,遇到此问题 tensorflow models api:ValueError: Tensor conversion requested dtype string for Tensor with dtype float32: 'Tensor("arg0:0", shape=(), dtype=float32, device=/device:CPU:0)' 问题分...原创 2019-03-10 18:04:44 · 281 阅读 · 0 评论 -
tensorflow gfile文件操作
一、gfile模块:对文件进行操作 defined in tensorflow/python/lib/io/file_io.py 二:相关函数: 1. tf.gfile.Copy(oldpath, newpath, overwrite=False) 功能:从旧地址拷贝到新地址(Copies data from oldpath to newpath) 2. tf.gfile.DeleteR...原创 2019-03-08 09:45:56 · 558 阅读 · 0 评论