PyTorch Tutorial for Deep Learning in Python
Learn PyTorch by building a satellite land-use classifier in Python: tensors, datasets and data loaders, neural networks, autograd, training loops, TensorBoard, convolutional networks, transfer learning, GPU speed-ups and torch.export. Beginner-friendly parts, all on your own computer.
Start with Part 1Install PyTorch and Create Your First Tensors on the GPU
Start a deep-learning project in Python: install PyTorch 2.15 and torchvision with uv on Python 3.15, create your first tensors, move them to the GPU and back, see the mixed-device error, and add a command that picks the GPU or the CPU.