Skip to content

conkats/uom_fse_deeplearning

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

474 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workshop Banner GitHub Pages

Deep Learning with PyTorch – Workshop

Overview 📋

This hands-on workshop introduces the fundamentals of deep learning using PyTorch. Participants will learn by building real models and solving practical tasks.

What You’ll Learn

  • Core PyTorch concepts (tensors, autograd, GPU usage)
  • Building and training neural networks
  • Creating Physics-Informed neural networks
  • Implementing CNNs for vision tasks
  • Applying transfer learning with pre-trained models
  • Working with real-world datasets
  • Designing classification and regression models

Getting Started 🛠️

✅ Recommended Platform: Google Colab

Colab provides a free, GPU-enabled environment—ideal for this workshop.

What You Need

  • A Google account
  • Reliable internet connection

Running the Notebooks

  1. Open the GitHub repo.

  2. Click the “Open in Colab” badge (if available), or:

    • Download the notebook locally.
    • Open Google Colab.
    • Use File > Upload Notebook to run it.

Enable GPU in Colab

  1. Runtime > Change runtime type
  2. Set Hardware Accelerator to GPU
  3. Click Save

📘 Colab Tips | Colab FAQ

Install Dependencies

Each notebook starts with a setup cell. Run it first to install all required libraries.


Workshop Sessions 🧠

Session Topic Duration
1 PyTorch Basics & Tensors ~1 hr
2 Artificial Neural Networks (ANNs) ~1.5 hr
3 Model Training & Optimization ~0.5 hr
3B Physics-Informed Neural Networks (PINNs) ~1 hr
4 Convolutional Neural Networks (CNNs) ~2 hr
5 Transfer Learning & U-Net ~2 hr

Learning Outcomes 🎯

By the end, you’ll be able to:

  • Build and train models in PyTorch
  • Apply CNNs to classification & segmentation
  • Fine-tune pre-trained models on new tasks
  • Use PyTorch effectively for real-world datasets

Repository Structure 📁

UoM_fse_dl_workshop/
├── solutions/           # Completed notebooks
├── figs/                # Figures and diagrams
├── utils/               # Checker and data helpers
│   ├── plotting/
│   ├── data/
│   ├── ml/
│   └── solutions.json
└── SE01_CA_Intro_to_pytorch.ipynb   # Code-along notebooks

Using the Exercise Checker ✅

Throughout the notebooks, you’ll find 🎯 exercises. Use the built-in checker to validate your answers.

answer = {'your_solution': result}
checker.check_exercise(1, answer)

Requesting Hints 💡

checker.display_hints(1)

✔️ Correct = green check ❌ Incorrect = feedback provided 💬 Hints are tailored to the task


Common Workflows

  1. Read the exercise and implement the solution.
  2. Use the checker to validate your work.
  3. Request hints if needed.
  4. Learn from any mistakes and try again.

Prerequisites 📾

  • Basic Python skills
  • Some knowledge of basic machine learning concepts
  • Familiarity with linear algebra/calculus (optional)
  • No PyTorch experience required!

Additional Resources 📚

PyTorch & Models

Visual Tools

Courses & Books

About

Content for UOM FSE Hands-on workshop on the fundamentals of deep learning with PyTorch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 98.7%
  • Python 1.3%