配置eiq_auto tensorflow offline tool 环境
1.安装conda
下载.sh
bash Anaconda3-5.3.1-Linux-x86_64.sh
2.换源
改配置文件
sudo nano ~/.condarc
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
ssl_verify: true
3.创建虚拟环境
创建环境
conda create -n eiq python=3.6.10
开启环境
source activate eiq
4. 安装dependency
conda install numpy=1.18
顺着装完
name: eiq_auto
channels:
- conda-forge
- defaultsy
dependencies:
- numpy=1.18.1=py36h4f9e942_0
- onnx==1.6.0
- opencv==4.2.0
- pandas=0.24.2=py36he6710b0_0
- pillow=7.0.0=py36hb39fc2d_0
- protobuf=3.9.2=py36he6710b0_0
- pytest=5.3.0=py36_0
- python=3.6.10=h0371630_0
- tensorflow=1.14.0=mkl_py36h2526735_0
- pip:
- onnxruntime==1.0.0