I am trying to convert the Alexnet model to DLC file. But snpe-caffe-to-dlc command is failing and the DLC file is not generated. Below is the error message i am getting,
ERROR_CAFFE_CAFFE_PARSING_ERROR: Caffe could not parse /home/sandeep/projects/QC/SNPE-evaluation/snpe-1.52.0.2724/models/alexnet/caffe/deploy_batch_1.prototxt: a bytes-like object is required, not 'str'
How can i fix this error?
Hi Sandeep,
Make sure that you are passing proper parameters to --input_network option for tool snpe-caffe-to-dlc, Also make sure that you have passed the --caffe_bin option even if it is not an mandatory to use.
Please take a look into MobileNet SSD Caffe model conversion guide given in below url for more information,
https://developer.qualcomm.com/sites/default/files/docs/snpe/convert_mob...
Hope this will resolve your issue.
Thanks,
Sahil Bandar