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

nn_quantizer.py in the ML-CIFAR10 examples got error KeyError: 'accuracy' #6847

Open
rafakath2020 opened this issue Oct 11, 2019 · 0 comments

Comments

@rafakath2020
Copy link

I am executing ML-examples ->cmsisnn-cifar10. While converting trained Caffe model into cmsis-nn by below command

python nn_quantizer.py --model models/cifar10_m7_train_test.prototxt --weights models/cifar10_m7_iter_300000.caffemodel.h5 --save models/cifar10_m7.pkl

getting an error message.

Traceback (most recent call last):
File "nn_quantizer.py", line 614, in
my_model.get_graph_connectivity()
File "nn_quantizer.py", line 231, in get_graph_connectivity
num_branch = len(self.bottom_blob[current_layer])
KeyError: 'accuracy'

Kindly provide any reference for solving the above error.

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