【发布时间】:2016-07-20 20:58:23
【问题描述】:
可以在 prototxt 文件中使用"Reshape" 层。
但是,尝试在 python 中使用它(使用NetSpec()):
n.resh = L.Reshape(n.fc3, reshape_param={'shape':'{dim:1 dim:1 dim:64 dim:64}'})
我得到的只有错误:
AttributeError: 'BlobShape' object has no attribute 'append'
【问题讨论】:
标签: python neural-network deep-learning caffe pycaffe