Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_yolo_prototxt.py, missing arguments #25

Open
mohanadkaleia opened this issue Apr 9, 2017 · 2 comments
Open

create_yolo_prototxt.py, missing arguments #25

mohanadkaleia opened this issue Apr 9, 2017 · 2 comments

Comments

@mohanadkaleia
Copy link

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,

@mohanadkaleia
Copy link
Author

Okay, I hard coded the name of the CFG file incorrectly :)
But still have a problem with the arguments, I worked around it anyway

@nikkris
Copy link

nikkris commented Jul 18, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants