Dear SNPE team,
Hope you've enjoyed a nice holiday season!
SNPE used to work well on my machine, but recently I found a new problem that snpe-caffe-to-dlc failed to produce dlc file, and I tried the example alexnet and it returned the error message as below:
-----------------
snpe-caffe-to-dlc --caffe_txt models/alexnet/caffe/deploy.prototxt --caffe_bin models/alexnet/caffe/bvlc_alexnet.caffemodel --dlc AlexNet.dlc
Encountered Error: u'conv1'
Stack Trace:
Traceback (most recent call last):
File "/home/yanbo/Downloads/snpe-1.8.0/bin/x86_64-linux-clang/snpe-caffe-to-dlc", line 76, in <module>
args.enable_strict_validation)
File "/home/yanbo/Downloads/snpe-1.8.0/lib/python/snpe/snpe_caffe_to_dlc.py", line 1048, in convert
self.convert_caffe_new(self.spec)
File "/home/yanbo/Downloads/snpe-1.8.0/lib/python/snpe/snpe_caffe_to_dlc.py", line 1169, in convert_caffe_new
self.add_conv_layer(conv_layer_seq, None, None)
File "/home/yanbo/Downloads/snpe-1.8.0/lib/python/snpe/snpe_caffe_to_dlc.py", line 1577, in add_conv_layer
c_weights, c_bias = self.weight_provider.get_conv_weights(layer, bias_term)
File "/home/yanbo/Downloads/snpe-1.8.0/lib/python/snpe/snpe_caffe_to_dlc.py", line 723, in get_conv_weights
c_weights = snpeUtils.blob2arr(self.weights_map[layer.name][0])
KeyError: u'conv1'
----------------------------------
Would you please look into this and help solve the issue? I cannot seem to find any related topics online, so looking forward to hearing from you!
Best regards,
Yanbo