caffe-yolo icon indicating copy to clipboard operation
caffe-yolo copied to clipboard

Unable to run create_yolo_prototxt.py

Open nikkris opened this issue 7 years ago • 3 comments

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

nikkris avatar Jul 18 '17 18:07 nikkris

Having the same problem. Did you find a solution?

mantoone avatar Sep 07 '17 10:09 mantoone

you must use Python 2.7@nikkris @mantoone

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

wuqi930907 avatar Feb 01 '18 08:02 wuqi930907

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

yuanhaorannnnnn avatar Aug 04 '19 05:08 yuanhaorannnnnn