LukeDitria/pytorch_tutorials
Beginner Level Deep Learning Tutorials in Pytorch with Youtube Videos!
What it solves
Learning to implement deep learning models in PyTorch can be tricky if you already know the concepts but not the code. This project provides structured, beginner-friendly tutorials that focus on turning deep learning ideas into working PyTorch implementations, so you can go from understanding a concept to coding it yourself.
How it works
The tutorials are Jupyter notebooks with skeleton code and completed solutions, organized into sections that progress from Python basics and simple machine learning algorithms to CNNs, autoencoders, image generation, reinforcement learning, attention, and transformers. You start by cloning the repo, creating a virtual environment with Python 3.10 or newer, and installing the requirements from requirements.txt. Then you launch Jupyter Lab and work through the notebooks. The README notes special setup cases: for NVIDIA GPUs you need a matching PyTorch CUDA build, older notebooks using torchtext (Sections 12-14 and Semantic Clustering) require a separate Python 3.11 environment with specific versions, and the Procgen notebook (Section 11) needs an older Python environment. Some notebooks also require manually downloading datasets like CUB-200 or COCO, and training can take hours or days on a big GPU, so you can reduce epochs to follow along.
Who it's for
This is aimed at people who have some familiarity with deep learning concepts and basic Python programming. It's not a first introduction to deep learning theory, but rather a practical guide to implementing those concepts in PyTorch. If you want to code your own models and understand the details, this is for you.
Highlights
- Covers a wide range of topics: from basic ML algorithms and MLPs to CNNs, transfer learning, autoencoders, object detection, image generation, model interpretation, reinforcement learning, sequential data, attention, and transformers.
- Includes both skeleton code (notebooks) and full solutions (solutions) so you can practice and check your work.
- Companion YouTube playlists for the main PyTorch tutorial and a separate reinforcement learning playlist.
- Active community support via a Discord server where you can ask for help.
- Additional resource list in a Google Sheets document, and you can request topics or resources.
- Provides setup instructions for tricky dependencies like CUDA, older
torchtext, andprocgen.
Related
- Project
- Project
- Project
- Project