← all repositories
ShusenTang/Dive-into-DL-PyTorch

Porting China's deep-learning textbook standard to PyTorch

It rewrites the Chinese edition of Dive into Deep Learning from MXNet into PyTorch, notebook by notebook.

19.4k stars Jupyter Notebook LearningML Frameworks
Dive-into-DL-PyTorch
Not currently ranked — collecting fresh signals.
star history

What it does This repository re-implements the code from the Chinese edition of Dive into Deep Learning (动手学深度学习) in PyTorch, replacing the original MXNet implementations. It pairs Jupyter notebooks with markdown chapters covering fundamentals, CNNs, RNNs, optimization, computer vision, and NLP, all rendered through a docsify site.

The interesting bit The project acts as a framework translation layer: it preserves the original book’s chapter-by-chapter pedagogy but rewrites every exercise in PyTorch, which is useful for readers who prefer PyTorch’s imperative style over MXNet.

Key highlights

  • Covers the standard curriculum: linear regression up through ResNet, LSTM, attention mechanisms, and seq2seq machine translation
  • Most chapters include both from-scratch and PyTorch-native implementations
  • Documentation is rendered with docsify for GitHub Pages, including LaTeX formula support
  • Aimed at beginners with only basic Python, linear algebra, and probability
  • Nearly 20,000 GitHub stars

Caveats

  • Four computer-vision chapters are unfinished: SSD, FCN, and two Kaggle competition walkthroughs remain unchecked in the table of contents
  • The text is in Chinese; the README explicitly points English readers to a separate port of the English edition

Verdict A solid entry point for Chinese-speaking students who want a structured deep-learning course in PyTorch rather than MXNet. Look elsewhere if you need the English text or complete coverage of every advanced CV topic.

Frequently asked

What is ShusenTang/Dive-into-DL-PyTorch?
It rewrites the Chinese edition of Dive into Deep Learning from MXNet into PyTorch, notebook by notebook.
Is Dive-into-DL-PyTorch open source?
Yes — ShusenTang/Dive-into-DL-PyTorch is open source, released under the Apache-2.0 license.
What language is Dive-into-DL-PyTorch written in?
ShusenTang/Dive-into-DL-PyTorch is primarily written in Jupyter Notebook.
How popular is Dive-into-DL-PyTorch?
ShusenTang/Dive-into-DL-PyTorch has 19.4k stars on GitHub.
Where can I find Dive-into-DL-PyTorch?
ShusenTang/Dive-into-DL-PyTorch is on GitHub at https://github.com/ShusenTang/Dive-into-DL-PyTorch.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.