- 博客(7)
- 收藏
- 关注
原创 pyinstaller安装的问题处理
安装pyinstallerpip install pyinstaller出现的问题AttributeError: module ‘enum’ has no attribute ‘IntFlag’解决方案卸载enum34pip uninstall enum34
2019-09-12 10:24:41 595
原创 深度学习——tensorboard
代码实现import tensorflow as tfimport randomfrom tensorflow.examples.tutorials.mnist import input_datatf.set_random_seed(777)import matplotlib.pyplot as pltmnist = input_data.read_data_sets("MNIST...
2019-09-06 15:01:44 459
原创 深度学习——手写数字识别——卷积神经网络
卷积神经网络这里使用了卷积神经网络,在上一个的基础上加入了卷积核,这样可以提到效果的准确性,但相应的加长了代码运行的时长,运用3个卷积核可以将准确率提高到99.41%代码实现import tensorflow as tfimport randomfrom tensorflow.examples.tutorials.mnist import input_dataimport matpl...
2019-09-05 15:51:07 880
原创 深度学习——手写数字识别——五层神经网络
优化器这里用了优化器,五层手写的公式比较繁多,用优化器来提高效率代码实现import tensorflow as tfimport randomimport matplotlib.pyplot as pltfrom tensorflow.examples.tutorials.mnist import input_datatf.set_random_seed(777) # rep...
2019-09-04 09:19:32 2219
原创 深度学习——手写数字识别——一层神经网络
代码实现import tensorflow as tfimport matplotlib.pyplot as pltfrom tensorflow.examples.tutorials.mnist import input_dataimport randomtf.set_random_seed(1)# 读取数据并进行独热编码mnist = input_data.read_data...
2019-09-03 20:33:03 1157
原创 深度学习——手写数字识别底层实现
内容再要手写数字识别,早在20世纪前,杨立昆(Yann LeCun)就完成这项工作,并在1980年左右利用卷积神经网络完善了手写数字识别代码实现import tensorflow as tfimport randomimport matplotlib.pyplot as plt# 例子 教程 手写数字 输入数据from te...
2019-09-03 18:56:19 1705
原创 深度学习——tensorflow解决异或问题
异或问题异或问题,简单说就是相同为0,相异为1早在1969年时,感知机的流行,但还是不能解决异或问题,但在神经网络出现后,这个问题就被迎刃而解,加入隐藏层的神经网络就很好的解决了这个问题数据如下x = [[0, 0], [1, 0], [0, 1], [1, 1]]y = [[0], [1], [1], [0]]代码实现import tensorflow as tfimport ...
2019-09-03 10:14:55 1914
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人