AI环境搭建

1. 安装anoconda 3.5.1
2. conda create -n tensorflow python=3.7.0
3. pip install tensorflow==1.15.0 -i  http://mirrors.aliyun.com/pypi/simple/  --trusted-host mirrors.aliyun.com
4. python -m pip install --upgrade pip
5. pip install Pyhamcrest matplotlib tk sklearn scipy==1.1.0 Pillow==6.0.0 -i  http://mirrors.aliyun.com/pypi/simple/  --trusted-host mirrors.aliyun.com
6. minist 碰到的问题
https://stackoverflow.com/questions/49901806/warning-please-use-alternatives-such-as-official-mnist-dataset-py-from-tensorfl

7.models练习

git config --global http.lowSpeedLimit 0

git config --global http.lowSpeedTime 999999

git config  --global   http.sslVerify "false"

git config --global http.postBuffer 2G

git clone --recurse-submodules https://github.com/tensorflow/models

下载models,复制到D:\ProgramData\Anaconda3\envs\tensorflow\Lib\site-packages\tensorflow_core

8. 安装torch
conda create -n torch python=3.7.0

pip install numpy pyyaml mkl mkl-include setuptools cmake cffi typing  --default-timeout=100 -i  http://mirrors.aliyun.com/pypi/simple/  --trusted-host mirrors.aliyun.com

pip install torch==1.2.0 torchvision==0.4.0 -f https://download.pytorch.org/whl/torch_stable.html --default-timeout=1000

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值