1.遇到问题:
[ ERROR ] Error loading xmlfile: C:\Users\USER\Documents\Intel\OpenVINO\openvino_models\ir\public\squeezenet1.1\FP16\squeezenet1.1.xml, File was not found at line: 1 pos: 0
2.解决办法:
找到squeezenet1.1.caffemodel文件
cd /home/kang/openvino_models/models/public/squeezenet1.1/
ls
切换到model_optimizer目录,用mo_caffe.py去做模型优化
cd /opt/intel/openvino/deployment_tools/model_optimizer
sudo ./mo_caffe.py --input_model /home/kang/openvino_models/models/public/squeezenet1.1/squeezenet1.1.caffemodel --output_dir ~/Downloads/
解析得到的xml和bin就可以使用了