代码网址
https://github.com/littletomatodonkey/tensorflow_practice/
AlexNet
代码网址
https://github.com/littletomatodonkey/tensorflow_practice/blob/master/alexnet_benchmark.py
跑分结果图
VGGNet
代码网址
https://github.com/littletomatodonkey/tensorflow_practice/blob/master/vggnet_benchmark.py
跑分结果图
GoogleInceptionNet
ResNet
遇到的问题
类型无效或者为NoneType
TypeError: Fetch argument None has invalid typegradient中的因变量必须与所有的自变量均有关系,才能进行梯度的求解,否则会报这个错误出现原因:之前搭建网络时,写错了一个变量,导致少了一层cnn,但是变量仍然被考虑进去了,最后的优化结果却与该变量无关,在求gradient(sess.run())时,出现了该问题参考的链接:http://blog.csdn.net/u012436149/article/details/53905797
转载请注明原文地址: https://ju.6miu.com/read-38201.html