- 博客(4)
- 收藏
- 关注
原创 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
344
原创 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
100
原创 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
625
原创 Python文件操作
1. 打开文件操作 open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None) 描述:Open file and return a stream. Raise IOError upon failure. mode描述: 'r' op...
2019-02-19 10:26:12
155
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人