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.
没有积分,如能解决可现金答谢!
目测conv1_1的维度搞错了,一个是64 3 3 3,一个是64 4 3 3,要看你的代码,把多余的数据维度用切片切掉,或者把模型中conv1_1的维度补齐
找到原因了,输入图像的通道是4通道,png格式的问题,第一卷积层的输入应为3通道。