OpenVINO 从yml处提取model下载链接,以mobile-ssd为例
生活随笔
收集整理的這篇文章主要介紹了
OpenVINO 从yml处提取model下载链接,以mobile-ssd为例
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
背景介紹:最近需要下載公開(kāi)模型,無(wú)法從intel OpenVINO官方模型下載腳本中下載(報(bào)告ConnectionResetError: [Errno 104] Connection reset by peer),因此記錄手動(dòng)下載方法,以mobilenet-ssd為例
1. 進(jìn)入 mobilenet-ssd文件夾
cd /opt/intel/openvino/deployment_tools/open_model_zoo/models/public/mobilenet-ssd2. 打開(kāi)yml文件
gedit ./model.yml3. 鏈接分析
查看files一欄,可以看到,這有兩個(gè)文件:mobilenet-ssd.prototxt和mobilenet-ssd.caffemodel
files:- name: mobilenet-ssd.prototxtsize: 29353sha256: e781559c4f5beaec2a486ccd952af5b6fa408e9498761bf5f4fb80b4e9f0d25esource: https://raw.githubusercontent.com/chuanqi305/MobileNet-SSD/ba00fc987b3eb0ba87bb99e89bf0298a2fd10765/MobileNetSSD_deploy.prototxt- name: mobilenet-ssd.caffemodelsize: 23147564sha256: 761c86fbae3d8361dd454f7c740a964f62975ed32f4324b8b85994edec30f6afsource:$type: google_driveid: 0B3gersZ2cHIxRm5PMWRoTkdHdHc對(duì)于這兩個(gè)文件,她們的鏈接描述不相同。
- mobilenet-ssd.prototxt是一個(gè)文件鏈接,
- mobilenet-ssd.caffemodel是一個(gè)google drive鏈接,解析后是https://drive.google.com/open?id=0B3gersZ2cHIxRm5PMWRoTkdHdHc
4. 下載文件
- mobilenet-ssd.prototxt
- mobilenet-ssd.caffemodel
參考鏈接
使用wget命令下載Google drive上的文件https://blog.csdn.net/Mao_Jonah/article/details/88372086
總結(jié)
以上是生活随笔為你收集整理的OpenVINO 从yml处提取model下载链接,以mobile-ssd为例的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: [转]使用wget命令下载Google
- 下一篇: [转] CMake入门