发布时间:2023-02-09 15:30
一、安装miniconda
从miniconda官网安装下载器
~/miniconda3/bin/conda init bash
source ~/.bashrc
二、配置conda源,创建环境
sudo apt-get update
sudo apt-get upgrade
vi .condarc
default_channels:
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
conda update --all
!!!重启terminal后再创建环境!一定要重启terminal!!!
conda create -n openvivo_env_py37 python=3.7.13
注意,支持的版本为3.7.13及以下的。
三、离线安装
下载离线安装包
Download Intel® Distribution of OpenVINO™ Toolkit
安装jupyter lab,启动
利用jupyter lab上传安装包。
tar -xvf l_openvino_toolkit_p_2021.4.752.tgz
cd l_openvino_toolkit_p_2021.4.752
sh install.sh
enter
accept
1
出了一些小问题,需要sudo权限
但是不是sudo 的问题
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
需要: pip install grpcio
同时,pip配置华为源
vi /home/user01/.config/pip/pip.conf
添加如下内容
[global]
index-url = https://repo.huaweicloud.com/repository/pypi/simple
trusted-host = repo.huaweicloud.com
timeout = 120
跳过预处理
1
1 接受
1
设置环境变量
配置模型文件
https://docs.openvinotoolkit.org/2021.4.1/_docs_install_guides_installing_openv
ino_linux.html
先按照官网说明配置
Go to the install_dependencies
directory:
cd /opt/intel/openvino_2021/install_dependencies
Run a script to download and install the external software dependencies:
sudo -E ./install_openvino_dependencies.sh
Once the dependencies are installed, continue to the next section to set your environment variables.
Note
If you installed the Intel® Distribution of OpenVINO™ to a non-default directory, replace /opt/intel
with the directory in which you installed the software.
These dependencies are required for:
Intel-optimized build of OpenCV library
Deep Learning Inference Engine
Deep Learning Model Optimizer tools
【问题】Nginx部署vue项目进行跳转二级路由报404无法找到目标页面问题和Nginx部署vue项目访问不了接口
Vue3 京东到家项目实战第一篇(首页及登录功能开发) 进阶式掌握vue3完整知识体系
C++ CreateFileMapping 内存映射实现快速读取文件
2021年第二届“大湾区杯”粤港澳金融建模竞赛B题解题思路和部分代码
Spark3.x入门到精通-阶段三(深度剖析spark处理数据全流程)
苹果icloud登录_如何在Windows电脑上使用苹果iCloud服务?
类EMD的“信号分解方法”及MATLAB实现(第六篇)——LMD
Elasticsearch:使用 Low Level Java 客户端来创建连接 - Elastic Stack 8.x