
tensorflow
iboxty
https://tyliupku.github.io/
展开
-
tensorflow index问题-1
记录一下tensorflow中的tensor index的解决方法。问题描述:对一个矩阵的不同行做max-pooling/softmax。 比如对下面的矩阵按照编号0,1,2,3 0 0 1 1原创 2017-02-27 21:02:49 · 2331 阅读 · 0 评论 -
tf 报错提示ValueError: setting an array element with a sequence.
stackflow解释 http://stackoverflow.com/questions/4674473/valueerror-setting-an-array-element-with-a-sequence原因是在把数据输入网络的时候列表的行数列数不匹配,比如 [[1,2], [2, [3, 4]]] [[1,2], [2, 3, 4]] 而tensor必须要2*2或者3*3的输入才行原创 2017-03-12 18:43:55 · 57416 阅读 · 2 评论