我正在运行 fcn-alexnet 进行语义分割,我下载了预训练模型。由于我的数据是单通道的,因此显示错误:
ERROR: Cannot copy param 0 weights from layer 'conv1'; shape mismatch. Source param shape is 96 3 11 11 (34848); target param shape is 96 1 11 11 (11616). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer.
有人可以指导我吗?形状如下:
Feature shape (1, 256, 256)
Label shape (1, 256, 256)