gm0515 2018-10-30 03:34 采纳率: 50%
浏览 1808
已采纳

Caffe -SSD 训练报错,Cannot copy param 0 weights from layer 'conv1_1'; shape mismatch.

F1030 11:27:00.626530 31870 net.cpp:774] Cannot copy param 0 weights from layer 'conv1_1'; shape mismatch. Source param shape is 64 3 3 3 (1728); target param shape is 64 4 3 3 (2304). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer.

没有积分,如能解决可现金答谢!

  • 写回答

2条回答 默认 最新

  • threenewbee 2018-10-30 05:16
    关注

    目测conv1_1的维度搞错了,一个是64 3 3 3,一个是64 4 3 3,要看你的代码,把多余的数据维度用切片切掉,或者把模型中conv1_1的维度补齐

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?