
This project changes the MXNet code implementation in the original book "Hand-On Learning Deep Learning" to PyTorch implementation. Original book authors: Aston Zhang, Li Mu, Zachary C. Lipton, Alexander J. Smora and other community contributors, GitHub address: https://github.com/d2l-ai/d2l-zh
There are some differences in the Chinese and English versions of this book. For the PyTorch refactoring of the English version of this book, please refer to this project. There are some differences between the Chinese and English versions of this book. For the PyTorch modifying of the English version, you can refer to this repo.
This repository mainly contains two folders: code and docs (plus some data is stored in data). The code folder is the relevant jupyter notebook code for each chapter (based on PyTorch); the docs folder is the relevant content in the "Hand-On Deep Learning" book in markdown format, and then use docsify to deploy the web document to GitHub Pages. Since the original book uses the MXNet framework, the docs content may be slightly different from the original book, but the overall content is the same. Contributions to this project or issue is welcome.
This project is aimed at children's shoes that are interested in deep learning, especially those who want to use PyTorch for deep learning. This project does not require you to have any background knowledge of deep learning or machine learning. You only need to understand basic mathematics and programming, such as basic linear algebra, differential and probability, and basic Python programming.
This repository contains some latex formulas, but github's markdown native does not support formula display, and the docs folder has been deployed on GitHub Pages using docsify, so the easiest way to view the document is to directly access the web version of this project. Of course, if you still want to run the relevant code, you still have to clone the project and then run the relevant code in the code folder.
You can also access the documentation locally and install docsify-cli tool first:
npm i docsify-cli -gThen clone the project locally:
git clone https://github.com/ShusenTang/Dive-into-DL-PyTorch.git
cd Dive-into-DL-PyTorch Then run a local server, so that you can easily access the document web rendering effect in real time at http://localhost:3000 .
docsify serve docs If you don't want to install the docsify-cli tool, and even Node.js is not installed on your computer, and for some reason you want to browse documents locally, you can run the web service in docker container.
First, clone this project to the local area:
git clone https://github.com/ShusenTang/Dive-into-DL-PyTorch.git
cd Dive-into-DL-PyTorch Then use the following command to create a docker image named "d2dl":
docker build -t d2dl .After the image is created, run the following command to create a new container:
docker run -dp 3000:3000 d2dl Finally, open this address http://localhost:3000/#/ in your browser to enjoy accessing the document. Suitable for those who don't want to install too many tools on their computers.
Continuously updated...
Chinese version: Learn deep learning on hands | Github repository
English Version: Dive into Deep Learning | Github Repo
If you used this project in your research please cite the original book:
@book{zhang2019dive,
title={Dive into Deep Learning},
author={Aston Zhang and Zachary C. Lipton and Mu Li and Alexander J. Smola},
note={url{http://www.d2l.ai}},
year={2020}
}