李沐动手学深度学习环境配置(Win)

环境配置(Win)

一、安装Miniconda
Miniconda — conda documentation




更改镜像源
conda
notepad .condarc


pypi
pip config set global.index-url https://mirror.sjtu.edu.cn/pypi/web/simple

二、安装Git
https://ghproxy.com/
https://github.com/git-for-windows/git/releases/download/v2.40.0.windows.1/Git-2.40.0-64-bit.exe

三、下载课程Repo
GitHub Proxy 代理加速
git clone (--depth=1) https://github.com/d2l-ai/d2l-zh.git #课程资源
git clone (--depth=1) https://github.com/d2l-ai/d2l-pytorch-slides.git #ppt

四、课程环境搭建

4.1搭建环境
conda create --name d2l python=3.9
y

激活创建的d2l Conda环境
conda activate d2l
退出环境
conda deactivate
删除环境
conda remove -n d2l --all

4.2安装库
pip install d2l torch torchvision rise



进入到项目文件夹,打开jupyter-notebook
conda activate d2l
cd D:\software\d2l-master
jupyter-notebook


关闭jupyter-notebook
ctrl+c

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值