caffe模型训练个人出错集锦

5、想把yolov3的模型转换为caffe

使用工具:pytorch-caffe-darknet-convert

注意事项:

caffe中必须已经添加了

upsample_layer.cpp

upsample_layer.cu

upsample_layer.hpp

message UpsampleParameter{
  optional int32 scale = 1 [default = 1];
}

然后使用yolov3_darknet2caffe.py

python yolov3_darknet2caffe.py yolov3.cfg yolov3.weights yolov3.prototxt yolov3.caffemodel

error

ValueError: need more than 1 value to unpack

出错不能转换,排查错误

Training应该注释掉,正确应该是

猜你喜欢

转载自blog.csdn.net/baidu_40840693/article/details/88988592