- 博客(7)
- 资源 (25)
- 收藏
- 关注
原创 解决“支持TensorFlow的Python 3.5以上版本无法安装PIL(Python Imaging Library)”问题
问题描述在使用TensorFlow处理图片文件时:import PIL.Image之后发现需要安装PIL模块,但是在搜索PIL Python,进入PIL安装的官网点击打开链接之后,发现PIL的安装最多只支持到Python 2.7,而支持TensorFlow的Python版本只能在Python 3.5以上。在寻找解决问题的办法时发现可以使用Pillow来代替:Pillow is the fr...
2018-03-26 15:34:29 5816 1
原创 学习TensorFlow时的一些问题与修正
1.ValueError: Only call `softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...)错误代码:cross_entropy2=tf.reduce_sum(tf.nn.softmax_cross_entropy_with_logits_v2(logits, y_)
2018-03-23 17:23:36 3345
原创 解决“ValueError: Cannot evaluate tensor using `eval()`”问题
问题描述在学习TensorFlow的时候,按照书上的指导编写代码,因为版本的原因出现很多问题,记录一下以待改善:1.ValueError: Cannot evaluate tensor using `eval()`#矩阵乘法通过tf.matmul函数完成v1=tf.constant([[1.0,2.0],[3.0,4.0]])v2=tf.constant([[5.0,6.0...
2018-03-21 16:28:17 5582
原创 Tensorflow中MNIST手写数字数据集
刚开始跑的代码还有错误,但是不知道为什么再次运行就正确了,可能是新添加了input_data.py文件,暂存记录一下,等待深入研究# -- coding: utf-8 --import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_data# 层节点INPUT_NODE = 784LAY
2018-03-15 16:01:13 681
原创 解决“PyCharm ImportError: No module named tensorflow”问题
问题描述当在命令行窗口安装完成Tensorflow之后,想要使用PyCharm编译器来运行,但是却被报错提醒ImportError: No module named tensorflow经过探索研究,发现要重新设置PyCharm的编译环境。解决方法步骤如下:1.打开PyCharm软件, 进入File->Settings目录2.在Project Interp...
2018-03-14 10:54:50 36781 7
原创 安装Python3.5和Tensorflow中遇到的问题
1.安装Python3.5在cmd中输入conda create --name python35 python=3.5 ,如果一次不成功可以多试几次如图所示:输入activate python35进入Python3.5环境中输入deactivate退出查询conda环境conda info --envs2.安装TensorFlow如上图所示,安装过程出现错误使用指令pip install --up...
2018-03-06 23:25:19 4129 1
原创 解决Anaconda Navigator闪退的问题
因为要安装Python3.5,为了一步到位就安装了Anaconda3,但是安装完成之后存在Anaconda Navigator闪退并且打不开的情况,搜索了许多方法之后,找到了简单的解决方法。1.打开Anaconda Prompt2.输入指令:conda update anaconda-navigator等待执行完成。3.输入指令:anaconda-navigator --reset等待执行完成。4...
2018-03-06 19:43:58 3865
hardhat-detector.rar
2019-11-20
Direction-Change Features of Imaginary Strokes
2018-03-05
Models of Light Reflection for Computer Synthesized Pictures
2017-12-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人