I tried a lot to install caffe but it never worked but finally, I used Intel movidius skd sdk and finally caffe was installed in python3
so I converted this code to python3 2to3 -w cfg.py, 2to3 -w prototxt.py,2to3 -w darknet2caffe.py
but I am getting this error any help
or any other easiest way to convert yolo.weights to caffe or movidius modle
Traceback (most recent call last): File "darknet2caffe.py", line 657, in <module> darknet2caffe(cfgfile, weightfile, protofile, caffemodel) File "darknet2caffe.py", line 14, in darknet2caffe net_info = cfg2prototxt(cfgfile) File "darknet2caffe.py", line 118, in cfg2prototxt blocks = parse_cfg(cfgfile) File "/home/movi/workspace/darknet2caffe/cfg.py", line 27, in parse_cfg key,value = line.split('=') ValueError: not enough values to unpack (expected 2, got 1)
I tried a lot to install caffe but it never worked but finally, I used Intel movidius skd sdk and finally caffe was installed in python3
so I converted this code to python3
2to3 -w cfg.py
,2to3 -w prototxt.py
,2to3 -w darknet2caffe.py
but I am getting this error any help or any other easiest way to convert yolo.weights to caffe or movidius modleTraceback (most recent call last): File "darknet2caffe.py", line 657, in <module> darknet2caffe(cfgfile, weightfile, protofile, caffemodel) File "darknet2caffe.py", line 14, in darknet2caffe net_info = cfg2prototxt(cfgfile) File "darknet2caffe.py", line 118, in cfg2prototxt blocks = parse_cfg(cfgfile) File "/home/movi/workspace/darknet2caffe/cfg.py", line 27, in parse_cfg key,value = line.split('=') ValueError: not enough values to unpack (expected 2, got 1)