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_caffemodel.py error #33

Open
sansoy opened this issue Dec 30, 2018 · 0 comments
Open

create_yolo_caffemodel.py error #33

sansoy opened this issue Dec 30, 2018 · 0 comments

Comments

@sansoy
Copy link

sansoy commented Dec 30, 2018

I just checked out your repository and ran the shell script convertyo.sh using your example yolo .cfg & .weight files.

python create_yolo_caffemodel.py -m tiny-yolo-voc.prototxt -w tiny-yolo-voc.weights -o tiny-yolo-voc.caffemodel

I get the following error.

I1230 00:15:40.790437 11577 net.cpp:264] This network produces output conv9
I1230 00:15:40.790475 11577 net.cpp:284] Network initialization done.
False
(15867885,)
#Total Net Layer 40
conv1(conv)-1-False
bn1(batchnorm)
Traceback (most recent call last):
File "../python/create_yolo_caffemodel.py", line 139, in
main(sys.argv[1:])
File "../python/create_yolo_caffemodel.py", line 121, in main
net.params[pr][0].data[...] = batch_norm[1] # mean
ValueError: could not broadcast input array from shape (16) into shape (1,16,1,1)

any ideas?

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

1 participant