mrdbourke

pytorch-deep-learning: Learn PyTorch Through Hands-On Courses

A free, code-first PyTorch course for beginners, with notebooks, exercises, solutions, slides, and an online book. Follow a path from tensor fundamentals to computer vision, transfer learning, paper replication, and model deployment.

MaintainedJupyter NotebookMITPythonMachine LearningDeep Learning
View on GitHub Compare
Stars
19.1k
Forks
5.2k
Stars, last 30 days
+200
Last commit
8 days ago
Contributors
61

Our take

Maintaineda few commits in the last 90 days

Health score

42/100

How it is scored
Activity
31
Community
51
Issues
39
Pull requests
46

+200 stars in the last 30 days

  • Slower to close issues than 93% of the projects we track

This is a broad, beginner-oriented learning resource with completed course materials and recent repository activity, though its development is concentrated among a small share of contributors and issue resolution can be slow.

Good fit if

  • You want a code-first PyTorch curriculum, with notebooks and exercises from fundamentals through deployment.
  • You have Python experience and can work in Jupyter or Google Colab, as the course expects.
  • You prefer free, MIT-licensed materials and can use the online book or linked videos at your own pace.

Look elsewhere if

  • You need a production-ready PyTorch library or application rather than educational material.
  • You need fast issue responses or a project whose work is broadly distributed across contributors.
  • You want a course that assumes no Python background, since the materials recommend prior Python and introductory machine-learning experience.
All health signals
Last commit2026-09-27 (8 days ago)
Commits, last 90 days4
Releases, last 12 months0
Contributors61 (top contributor: 85% of commits)
Issues closed, last 90 days9 (typically closed in 326 days)
Project age4 years

Checked on 2026-10-06 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

19,432

Forks

5,245

Change since Nov 17, 2026: +8 stars·0 forks

Overview

pytorch-deep-learning is the course-materials repository for Learn PyTorch for Deep Learning. It helps Python learners build practical familiarity with PyTorch and core machine-learning ideas by writing and experimenting with code, rather than only reading explanations.

The materials are organized as an online book and a sequence of notebooks, with exercises and supporting resources. The course is aimed at beginners and builds toward projects such as FoodVision, an image-classification model.

Key Features

  • Covers PyTorch fundamentals, training workflows, classification, and computer vision.
  • Teaches loading custom datasets and organizing code into reusable modules.
  • Includes transfer learning, experiment tracking, paper replication, and model deployment sections.
  • Provides exercises, solutions, explanatory annotations, and slides alongside the main sections.
  • Offers an online book at learnpytorch.io and a YouTube video covering the first five sections.
  • Includes extra learning resources, a PyTorch cheatsheet, and a PyTorch 2.0 introduction.

Use Cases

  • Python learners with some coding experience who want a guided, hands-on introduction to PyTorch.
  • Students who want practice building neural networks for classification and computer-vision tasks.
  • Learners preparing to adapt a pretrained model to a custom problem using transfer learning.
  • Developers who want to practice tracking experiments, replicating a research paper, or deploying a model through structured course projects.

What you need

Detected in the repository

  • Jupyter Notebook (main language on GitHub)
  • Automated checks on GitHub Actions

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Start with the online course book, or open the repository README and choose a section. The README explains how to open notebooks in Google Colab and provides links to exercises, slides, and other materials.

Alternatives

  • notebooks: Roboflow notebooks focus on runnable computer-vision tutorials, while pytorch-deep-learning is a structured PyTorch course from fundamentals through deployment.
ProjectLanguageLicenseStarsStatus
pytorch-deep-learningJupyter NotebookMIT19.1kMaintained
notebooksJupyter Notebook–9.7kMaintained

Considerations

The repository is marked maintained and has recent commits, but activity over the last 90 days is limited and there have been no releases in the past year. Most contributions come from one person, and the median issue close time is long, so teams should not treat issue handling as a rapid support channel. This is a course repository, not a packaged runtime tool; the README recommends Python experience and Jupyter or Colab, and does not specify a formal software test suite. The repository uses the MIT license, so check its terms when redistributing materials.

Found this useful?

Share it with someone who would like pytorch-deep-learning.

Comparisons