发布时间: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
rocketmq java实战_RocketMQ实战与原理解析 杨开元著 PDF下载
问题解决:JSON parse error: syntax error, expect {, actual error, pos 0, fastjson-version 1.2.58;
hualinux 进阶 1.9:pod[k8s最小编排单位]及pod本质(整理)
Simple-SR:Best-Buddy GANs for Highly Detailed Image Super-Resolution论文浅析