首页 > 其他分享 >李沐动手学深度学习环境配置(Win)

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

时间:2023-03-21 22:13:36浏览次数:38  
标签:git -- Win 动手 conda d2l https 李沐 com

环境配置(Win)

一、安装Miniconda
https://docs.conda.io/en/latest/miniconda.html
image.png
image.png


更改镜像源
conda
notepad .condarc
image.png
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
https://ghproxy.com/
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
image.png

进入到项目文件夹,打开jupyter-notebook
conda activate d2l
cd D:\software\d2l-master
jupyter-notebook
image.png
关闭jupyter-notebook
ctrl+c
       

标签:git,--,Win,动手,conda,d2l,https,李沐,com
From: https://www.cnblogs.com/mhjgreat/p/17241727.html

相关文章

  • 大恒相机-Winform\WPF 视频流显示
    usingSystem;usingSystem.Collections.Generic;usingSystem.Drawing;usingSystem.Drawing.Imaging;usingSystem.IO;usingSystem.Runtime.InteropServices;usin......
  • Windows server部署开源FileZilla FTP Server
    Ftp:文件传输协议。NAS(网络附加存储)使用的协议之一。其它还有smb,nfs,webdav协议。。。。。ftp用于各地分散的主机使用网际网络传输文件,达到资源共享和信息传递的目的。......
  • Windows系统下生成IOS证书
    我使用ApiCloud开发APP,开发后需要生成IOS的证书才能在项目开发控制台中进行编译,于是我在网上大海捞针似的寻找办法。官方文档提供了使用苹果系统下生成IOS证书的步骤,对于......
  • Windows 注册系统服务教程(包含bat 脚本)
    一、场景平时会遇到很多需要手动去把一些程序注册成系统服务,例如一些免安装版的中间件、数据库程序等,需要把运行窗口给隐藏起来,做成系统服务管理也方便。一些整理汇总常用的......
  • 在windows中,如何使用Out-File命令创建有内容的文件?
    在windows中,如何使用Out-File命令创建有内容的文件?打开PowerShell窗口。输入要写入文件的内容,比如"HelloWorld"。使用管道符|将内容传递给Out-File命令,并指定要创建的......
  • Windows 系统下怎么获取 UDP 本机地址
    Windows系统下怎么获取UDP本机地址我们知道UDP获取远端地址非常简单,通常接口recvfrom就可以直接获取到远端的地址和端口;如果获取UDP的本机地址就需要点特殊处理......
  • windows下mysql5.6升级至mysql5.7
    下载mysql-5.7.39-winx64.zip并解压。停止5.6版本的mysql服务。将mysql5.6中的data目录和my.ini复制到mysql5.7的目录下。修改mysql5.7目录下的my.ini文件:#设置mysq......
  • 在ubuntu中运行sudo apt-get update报错The following signatures couldn‘t be verif
    出现的问题如下图: 报错信息:Err:5http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 InRelease                     ......
  • windows 下,获取文件的md5值、sha1、sha256值
    windows下,cmd窗口执行下列指令可获取对应的加密值certutil-hashfilefilenameMD5certutil-hashfilefilenameSHA1certutil-hashfilefilenameSHA256linux下,直接......
  • golang 版本管理(windows版本)
    golang版本管理(windows版本) 一、下载版本管理器使用的开源项目地址:https://github.com/voidint/g下载release安装包https://github.com/voidint/g/releases/tag/v1.......