PyTorch Study Repo: Quick Tour and Index (alfredzhang98/PyTorch_study)

3 minute read

Published:

This post summarizes my learning repository “PyTorch_study” based on notes and examples from the book/course “PyTorch 深度学习实战”, so I can quickly review it later.

Repository structure

As described in the README, the repo is organized into three parts:

1) Basic: PyTorch prerequisites and fundamentals (NumPy basics, Tensor basics and advanced usage) 2) Training: Building and training neural networks with PyTorch (autograd, nn module, optim module, and the end-to-end training loop) 3) Application: Practical projects (e.g., computer vision, LSTM motion prediction)

Currently, the Basic, Training and Application parts are complete.

Basic

Training

Application

How to use

  • Browse online: click the GitHub links above to open each .ipynb.
  • Run locally: create a fresh Conda env; install PyTorch, torchvision, numpy, matplotlib, Pillow, etc.; then open in Jupyter or VS Code.

Next steps

The learning phase is now complete. The next major update will focus on implementing modern architectures from scratch:

  • Hand-rolled Implementations: Implementing Transformer, ViT (Vision Transformer), and other key frameworks from scratch to understand their inner workings.
  • Minimal Testing: Performing minimal testing to verify the correctness of these implementations.
  • Keep refining training/tuning/visualization patterns into reusable templates.

If you’re also learning PyTorch, feel free to star and discuss!