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

Unable to run create_yolo_prototxt.py #28

Open
nikkris opened this issue Jul 18, 2017 · 3 comments
Open

Unable to run create_yolo_prototxt.py #28

nikkris opened this issue Jul 18, 2017 · 3 comments

Comments

@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

NOTE: The module name is configparser in my system
Hence I used the following import command inside create_yolo_prototxt.py

from configparser import ConfigParser

instead of

from ConfigParser import ConfigParser

@mantoone
Copy link

mantoone commented Sep 7, 2017

Having the same problem. Did you find a solution?

@wuqi930907
Copy link

you must use Python 2.7@nikkris @mantoone

if you use Python3 and change ConfigParser to configparser, may be show that errors.

@yuanhaorannnnnn
Copy link

you must use Python 2.7@nikkris @mantoone

if you use Python3 and change ConfigParser to configparser, may be show that errors.

thanks, same problem solved

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

4 participants