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应该注释掉,正确应该是