【发布时间】:2018-01-14 11:14:00
【问题描述】:
我有一个 Caffe CNN 模型,我正在尝试使用 importCaffeNetwork 命令将其导入 MATLAB,该命令将 prototxt 和 caffemodel 文件作为输入参数。
但是,我收到此错误:
The pooling layer 'pool1' is not compatible with MATLAB. Caffe computes the output size as [16 16 32] but MATLAB computes it as [15 15 32]
看来这个错误与MATLAB和CAFFE中pooling层的输出大小计算不同有关,前者使用ceil,后者使用floor函数。
这是问题的真正根源吗? 我能做些什么来解决这个问题?
【问题讨论】:
标签: matlab caffe conv-neural-network max-pooling