当前位置:网站首页>李沐《动手学习深度学习》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
边栏推荐
- 7.手机登陆功能开发
- 一些国内镜像源
- 【新书推荐】Cleaning Data for Effective Data Science
- Golang magic code
- Pytorch graduate warm LR installation
- Ocx control can be called by IE on some computers, but can not be called by IE on some computers
- What makes flutter special
- 安装和使用
- Redis + MySQL implements the like function
- Difference between bow and cbow
猜你喜欢
The present situation and challenge of the infrastructure of Yiwen parsing database
磁悬浮3D灯
单片机 MCU 固件打包脚本软件
[new book recommendation] cleaning data for effective data science
Principle and implementation of small program hand-held bullet screen (uni APP)
G 代码解释|最重要的 G 代码命令列表
How do databases go to the enterprise cloud? Click to view the answer
Enterprise data center "cloud" transformation solution
力扣 428. 序列化和反序列化 N 叉树 DFS
oracle跨数据库复制数据表-dblink
随机推荐
Horrible bug records
How can we have high performance and simple agility in the enterprise cloud on oracle?
Network based dynamic routing protocol (OSPF)
prometheus 监控之 ntp_exporter
Use and description of event delegation
Redis docker 主从模式与哨兵sentinel
MySQL explain
1, 基本配置
MySQL index optimization miscellaneous
Add / delete query of topic
Utlis memory pool object pool
JVM notes (III): analysis of JVM object creation and memory allocation mechanism
Forrester senior analyst: five important trends in the development of the hyper convergence market
2021-11-15
Self service terminal handwritten Chinese character recognition input method library tjfink introduction
Regular expression Basics
Is the jar package for the project or the project for the jar package
Enterprise data center "cloud" transformation solution
【新书推荐】Cleaning Data for Effective Data Science
[new book recommendation] cleaning data for effective data science