- 博客(5)
- 收藏
- 关注
原创 Mnist源码实现
# -*- coding:utf-8 -*-import osimport tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_dataos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'INPUT_NODE = 784 # 输入层的节点数。对于MNIST数据集,这个...
2018-03-18 15:00:21 707 1
原创 Python学习总结
1、错误:weights = weights + alpha * error * dataMatrix[randIndex])TypeError: 'numpy.float64' object cannot be interpreted as an index改为点乘就可以了weights = weights + dot(dot(alpha, error), dataMatrix[randInd...
2018-03-10 22:46:11 219
原创 pycharm使用经验总结
1、更改Terminal的访问路径和2、fr = open(r"testSet.txt")IOError: [Errno 2] No such file or directory: 'testSet.txt'改为:fr=open(r"testSet.txt", "w")3、 python ImportError: No module named解决方法:sys.path.append(r"D:\G...
2018-03-09 16:47:35 560
原创 命令行进入Python3,安装TensorFlow
进入Python3的方法:1、cd D:\Program Files (x86)\Python3.6\Scripts2、D:\Program Files (x86)\Python3.6\Scripts>pip install tensorflow
2018-03-09 10:59:27 2592
原创 anaconda jupyter note 安装包的问题
切换D盘,查看安装环境,激活py36环境,最后安装包(base) C:\Users\weixingquan>D:(base) D:\>conda info --envs D:\>activate ipykernel_py36(ipykernel_py36) D:\>pip install absl进入Python3的方法:1、cd D:\Program Files (x86...
2018-03-08 20:02:53 573
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人