Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用已经在三通道彩色图像上训练过的预训练模型,但是由于形状差异,我得到了一个错误。有人可以让我知道如何解决这个问题吗?一位用户建议使用Tile图层,但我找不到任何相关文档/帮助来使用该图层或任何其他解决方案。我真的很感谢你的帮助。
Tile
caffe.proto关于瓦片层的信息不多。如果您查看代码,它只会复制tiles每个外部维度的数据时间。对于您的情况,它应该是:
caffe.proto
tiles
layer{ name: "tile" type: "Tile" bottom: "bottom-blob" top: "top-blob" tiling_param { // axis is 1 by default tiles: 3 } }