caffe-yolo
caffe-yolo copied to clipboard
create_yolo_prototxt.py, missing arguments
Okay, I have a problem from the beginning! I downloaded the cgf file from here, https://raw.githubusercontent.com/pjreddie/darknet/master/cfg/yolov1/yolo.cfg
and then I tried with the first command to create prototxt file, like the following: python create_yolo_prototxt.py CFG 'yolo.cfg' -prototxt text.prototxt
But it gives me: error: unrecognized arguments: -prototxt
Okay, I hard coded the needed arguments from the source file to have a quick workaround, but when I run it it gives me a prototxt file with only one line: name: "yolo"
What I've missed though? and why I'm getting such an errors!
The documentation is not very well detailed :(
Thank you,
Okay, I hard coded the name of the CFG file incorrectly :) But still have a problem with the arguments, I worked around it anyway
What is the final command to create the prototxt?
When I tried the command
python create_yolo_prototxt.py yolo.cfg yolo.prototxt
I am getting the error
configparser.DuplicateOptionError: While reading from 'yolo.cfg' [line 38]: option 'batch_normalize' in section 'convolutional' already exists