Search found 5 matches

by rafakath
Tue Nov 12, 2019 7:18 am
Forum: Technical Discussion
Topic: Getting error while running code_gen.py with MNIST
Replies: 0
Views: 2402

Getting error while running code_gen.py with MNIST

hi, While converting .pkl file into header file by running script code_gen.py with MNIST dataset I am getting below error. Traceback (most recent call last): File "code_gen.py", line 362, in <module> generate_parameters(my_model, cmd_args.out_dir+'/parameter.h') File "code_gen.py", line 94, in gener...
by rafakath
Wed Oct 16, 2019 6:56 am
Forum: General Topics
Topic: i've follow the cmsisnn tutotrial,but don't work
Replies: 11
Views: 8546

Re: i've follow the cmsisnn tutotrial,but don't work

Just need to replace
name: "mnist" -> name: "data"
in lenet_train_test.prototxt file

thanks
by rafakath
Wed Oct 16, 2019 5:39 am
Forum: General Topics
Topic: i've follow the cmsisnn tutotrial,but don't work
Replies: 11
Views: 8546

Re: i've follow the cmsisnn tutotrial,but don't work

while running MNIST dataset I got same error.

File "nn_quantizer.py", line 229, in get_graph_connectivity
current_blob = self.bottom_blob[current_layer][0]
IndexError: list index out of range


How to solve it.
by rafakath
Wed Oct 16, 2019 3:16 am
Forum: General Topics
Topic: nn_quantizer.py for CIFAR10 got error blob_dims == blob->shape() Cannot load blob from hdf5
Replies: 2
Views: 693

Re: nn_quantizer.py for CIFAR10 got error blob_dims == blob->shape() Cannot load blob from hdf5

Hi,
I did not train the model, just try to convert it into .pkl file.

run below script without GPU, is it ok

python nn_quantizer.py

Thanks
by rafakath
Mon Oct 14, 2019 8:14 am
Forum: General Topics
Topic: nn_quantizer.py for CIFAR10 got error blob_dims == blob->shape() Cannot load blob from hdf5
Replies: 2
Views: 693

nn_quantizer.py for CIFAR10 got error blob_dims == blob->shape() Cannot load blob from hdf5

I have download code from git clone https://github.com/ARM-software/ML-examples.git I have executed ML-examples ->cmsisnn-cifar10 and successfully generate mean file mean.binaryproto,cifar10_test_lmdb and cifar10_train_lmdb. through below command cd $CAFFE_ROOT ./data/cifar10/get_cifar10.sh ./exampl...

Go to advanced search