December 11, 2019

752 words 4 mins read



This project reproduces the book Dive Into Deep Learning (, adapting the code from MXNet into PyTorch.

repo name dsgiitr/d2l-pytorch
repo link
language Jupyter Notebook
size (curr.) 161299 kB
stars (curr.) 2760
created 2019-05-11
license Apache License 2.0

This project is adapted from the original Dive Into Deep Learning book by Aston Zhang, Zachary C. Lipton, Mu Li, Alex J. Smola and all the community contributors. GitHub of the original book: We have made an effort to modify the book and convert the MXnet code snippets into PyTorch.

Note: Some ipynb notebooks may not be rendered perfectly in Github. We suggest cloning the repo or using nbviewer to view the notebooks.



  • Please feel free to open a Pull Request to contribute a notebook in PyTorch for the rest of the chapters. Before starting out with the notebook, open an issue with the name of the notebook in order to contribute for the same. We will assign that issue to you (if no one has been assigned earlier).

  • Strictly follow the naming conventions for the IPython Notebooks and the subsections.

  • Also, if you think there’s any section that requires more/better explanation, please use the issue tracker to open an issue and let us know about the same. We’ll get back as soon as possible.

  • Find some code that needs improvement and submit a pull request.

  • Find a reference that we missed and submit a pull request.

  • Try not to submit huge pull requests since this makes them hard to understand and incorporate. Better send several smaller ones.


If you like this repo and find it useful, please consider (★) starring it, so that it can reach a broader audience.


[1] Original Book Dive Into Deep Learning -> Github Repo

[2] Deep Learning - The Straight Dope

[3] PyTorch - MXNet Cheatsheet


If you use this work or code for your research please cite the original book with the following bibtex entry.

    title={Dive into Deep Learning},
    author={Aston Zhang and Zachary C. Lipton and Mu Li and Alexander J. Smola},
comments powered by Disqus