Problem: labels file not mathch

版权声明:学无止境,好好学习 https://blog.csdn.net/m0_38116269/article/details/88680530
I0320 09:32:31.106779 40684 upgrade_proto.cpp:79] Attempting to upgrade batch norm layers using deprecated params: /media/seu/Linux-doc/wwh/caffe/models/resnet-18/resnet_18_iter_49995.caffemodel
I0320 09:32:31.106824 40684 upgrade_proto.cpp:82] Successfully upgraded batch norm layers using deprecated params.
I0320 09:32:31.114569 40684 net.cpp:746] Ignoring source layer loss
F0320 09:32:31.117251 40684 classify.cpp:82] Check failed: labels_.size() == output_layer->channels() (6 vs. 5) Number of labels is different from the output layer dimension.
*** Check failure stack trace: ***
Aborted (core dumped)

问题找到了:原因是我自己做的标签不对,最后有空格。

猜你喜欢

转载自blog.csdn.net/m0_38116269/article/details/88680530