d2l-pytorch

dsgiitr / d2l-pytorch

将《动手学深度学习》原书MXNet代码用PyTorch重写的开源教程项目,配套书籍逐章实现,适合PyTorch学习者对照阅读。

Jupyter Notebook 数据科学 模型训练 深度学习 PyTorch 动手学深度学习 教程 代码复现

为什么值得看

编辑点评

经典深度学习教材的PyTorch移植版,代码结构清晰,与书本章节一一对应,适合初学者边学理论边写代码。优点是覆盖了从基础到CNN、RNN等核心内容;缺点是项目更新较早,部分API与新版PyTorch不兼容,且非官方实现。整体仍是入门深度学习的高质量参考资源。

Star 趋势

近 7 日
  • Star 总数4,366
  • 今日新增+1
  • 7 日增速0%
  • Fork1,232

同类项目

同场景 · 数据科学 / 模型训练

项目文档

来自 GitHub README · master 分支


UPDATE: Please see the orignal repo for the complete PyTorch port. We no longer maintain this repo.

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: https://github.com/d2l-ai/d2l-en. 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.

Chapters

Contributing

  • 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.

Support

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

References

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

[2] Deep Learning - The Straight Dope

[3] PyTorch - MXNet Cheatsheet

Cite

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

@book{zhang2020dive,
    title={Dive into Deep Learning},
    author={Aston Zhang and Zachary C. Lipton and Mu Li and Alexander J. Smola},
    note={\url{https://d2l.ai}},
    year={2020}
}

文档抓取自 GitHub 仓库 README,版权归原作者所有;已过滤徽章等噪音并经安全消毒后展示。