发布时间:2024-01-31 08: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
【牛客网面经整理】7.20shopee一面面经,加入我自己整理的相关拓展问题(redis))
聊聊 Netty 那些事儿之 Reactor 在 Netty 中的实现(创建篇)
卷到自己?继 Imagen 之后,推出200 亿文本生成的图像模型惊呆网友!
科学教学中的计算机技术应用,浅谈计算机科学技术在教学方面的应用原稿.DOC...
鸿蒙HarmonyOS 3官宣:7月27日正式发布;苹果2023年放缓部分团队招聘和支出;俄罗斯对谷歌重罚26亿元|极客头条
获取rawimage的像素点函数_[Unity3D]用RawImage给单个3D物体描边
House of apple 一种新的glibc中IO攻击方法
Nginx 0.8.x + PHP 5.2.13(FastCGI)搭建胜过Apache十倍的Web服务器(第6版)[原创]