Skip to content

Concise and annotated examples for learning PyTorch

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
CODE_LICENSE
Notifications You must be signed in to change notification settings

bpesquet/pytorch-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch Tutorial

This repository provides concise and annotated examples for learning PyTorch.

Adapted from the great but seemingly unmaintained PyTorch Tutorial by Yunjey Choi.

Table of Contents

Basics

Usage

git clone https://github.com/bpesquet/pytorch-tutorial.git
cd pytorch-tutorial
python {path to Python example file}

Development notes

Toolchain

This project is built with the following software:

  • Poetry for dependency management;
  • Black for code formatting;
  • Pylint to detect mistakes in the code;
  • pytest for testing the code;
  • Marp for showcasing Markdown files as slideshows during labs.

Useful commands

# Reformat all Python files
black .

# Check the code for mistakes
pylint tutorials

# Run all code examples as unit tests
# The -s flag prints code output
pytest [-s] .

License

Creative Commons for textual content and MIT for code.

Copyright © 2025-present Baptiste Pesquet.

About

Concise and annotated examples for learning PyTorch

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
CODE_LICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages