- 博客(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
389
原创 tensorflow安装
1. windows下的anaconda下安装tensorflow(CPU)1. 安装:以管理员身份运行cmd,命令行输入:pip install tensorflow2. 更新:以管理员身份运行cmd,命令行输入:pip install --upgrade tensorflow3. 参考网址:https://www.tensorflow.org/install/pip...
2019-03-09 16:11:44
122
原创 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
659
原创 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
195
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅