Windows下安装openvino问题汇总
文章目錄
- 前言
- 一、[ ERROR ] The "C:\Users\**\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1/squeezenet1.1.caffemodel" is not existing file FAILED:squeezenet1.1Error
- 二、[ ERROR ] Error loading xmlfile: /root/openvino_models/ir/FP16//public/squeezenet1.1/squeezenet1.1.xml, File was not found at line: 1 pos: 0Error on or near line 239; exiting with status 1
- 三、List of operations that cannot be converted to IE IR (YoloV3 & TinyYoloV3)
- 四、PermissionError: [Errno 13] Permission denied:
- 總結
前言
這里主要是匯總一下經常遇到的問題,有些很奇妙的問題我也都忘記了。
其實最大的問題還是網絡問題。
一、[ ERROR ] The “C:\Users**\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1/squeezenet1.1.caffemodel” is not existing file FAILED:squeezenet1.1Error
首先遇到這個問題主要是因為網絡不好沒下載下來squeezenet1.1文件所以如果不急的話可以等網絡好了在來下載。
在C:\Program Files (x86)\Intel\openvino_2019.3.334\deployment_tools\demo找到文件:demo_squeezenet_download_convert_run.bat
然后把這個文件改成demo_squeezenet_download_convert_run.py這個文件,然后找到102行左右行
大概就是上面的這個樣子,不同版本會有些差別,有的下面delay是timeout
然后安裝上面圖片那樣加 :: 進行注釋。然后改回bat文件。
然后自己去下載相應的squeezenet1.1文件
下面這個是官網,選擇SqueezeNet_v1.1版本。
然后把
SqueezeNet_v1.1.caffemodel和 deploy.prototxt文件移動到測試輸出目錄下的模型子目錄
C:\Users**\Documents\Intel\OpenVINO\openvino_models\models\public\squeezenet1.1,重命名為squeezenet1.1.caffemodel和squeezenet1.1.prototxt
然后運行demo_squeezenet_download_convert_run.bat
二、[ ERROR ] Error loading xmlfile: /root/openvino_models/ir/FP16//public/squeezenet1.1/squeezenet1.1.xml, File was not found at line: 1 pos: 0Error on or near line 239; exiting with status 1
原因是由于第一次運行失敗,產生了/root/openvino_models/ir/FP16//public/squeezenet1.1目錄但沒有生成目錄下的文件,導致第二次判斷失誤,故刪除此目錄即可。
三、List of operations that cannot be converted to IE IR (YoloV3 & TinyYoloV3)
這個問題困擾了很久,幸好在一個外網上找到了解決辦法,其實按照我的文章配置來就不會出現這個問題,這個就是因為tensorflow版本的問題。
需要把tensorflow版本變成1.12.0
這個是那個網址
四、PermissionError: [Errno 13] Permission denied:
這個問題如果是按照我的文章來也是不會出現的,這個是沒有以管理員身份打開終端,導致生產的bin,xml,mapping文件沒有權限去存儲。具體方法可以參考我之前寫的
鏈接: https://editor.csdn.net/md/?articleId=122136899.
總結
前兩個問題都是下載的問題,如果實在沒有解決可以直接去轉換自己的模型(我猜的),因為這是去驗證你的openvino有沒有配置好,所以可以不用管。終于完了,開心
總結
以上是生活随笔為你收集整理的Windows下安装openvino问题汇总的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SQL Server Managemen
- 下一篇: eclipse hadoop1.2.0配