当前位置:网站首页>李沐《动手学习深度学习》d2lbook环境搭建
李沐《动手学习深度学习》d2lbook环境搭建
2022-06-30 09:36:00 【农民小飞侠】
最近在线下搭建了d2lbook的环境,发现安装他们的开发环境并不顺利,这里我分享出来,让有需要的人少踩点坑。python版本需要3.8,并且需要anaconda环境,下面是安装过程:
conda create --name d2l python=3.8 -y
conda activate d2l
# 安装老版本的依赖
pip install d2lbook
# 卸载d2lbook
pip uninstall d2lbook
# 安装最新版的d2lbook
pip install git+https://github.com/d2l-ai/d2l-book
pip install pandas
pip install matplotlib
pip install opencv-python
# 我使用的是torch环境,如果需要mxnet,tensorflow,paddle环境,安装相应的包即可
pip install torch==1.11.0
pip install torchvision==0.12.0
pip install jinja2==3.0.3
然后在命令行终端,运行:
jupyter notebook --NotebookApp.contents_manager_class='notedown.NotedownContentsManager'
打开浏览器即可编辑其中的md文件,然后运行了。
参考文献
[1].https://book.d2l.ai/install.html
[2].https://zh.d2l.ai/chapter_installation/index.html
边栏推荐
- MCU firmware packaging Script Software
- Good partner for cloud skill improvement, senior brother cloud of Amazon officially opened today
- input限制输入
- MySQL index and data storage structure foundation
- Financial private cloud infrastructure scheme evaluation (Architecture and storage)
- G 代码解释|最重要的 G 代码命令列表
- Returnjson, which allows more custom data or class names to be returned
- 基于Svelte3.x桌面端UI组件库Svelte UI
- 2021-07-26
- Theme Studio
猜你喜欢

Forrester senior analyst: five important trends in the development of the hyper convergence market

Follow the wechat oauth2.0 access scheme

Force buckle 428 Serialize and deserialize n-tree DFS

JVM garbage collector G1 & ZGC details

7. development of mobile login function

Flume learning 1

磁悬浮3D灯

Techtarget: Interpretation of the basic concept of super fusion cloud

布隆过滤器
![[JVM] G1 garbage collector](/img/fc/ea1f8cee0f207e4a5c804f88f2871c.png)
[JVM] G1 garbage collector
随机推荐
单片机 MCU 固件打包脚本软件
Cobbler Automated Deployment
工作小记: sendto失败 errno 22
Redis docker master-slave mode and sentinel
Design of mfc+mysql document data management system based on VS2010
文章内容无法复制复制不了
JVM tuning tool introduction and constant pool explanation
机械臂速成小指南(四):机械臂关键部件之减速机
Self service terminal handwritten Chinese character recognition input method library tjfink introduction
关于字符串的split和join操作
Theme Studio
Appium自动化测试基础 — adb shell 命令
一些国内镜像源
Golang magic code
Cloud native database
Mysql database learning 1
Brève description du collecteur d'ordures G1
ABAP time function
Object detection yolov5 open source project debugging
1, 基本配置