Skip to content

LCDA-UCP/dl_with_pytorch

Repository files navigation

Deep Learning (DL) with Pytorch

This repository contains a collection of exercises and practice materials for DL classes.

Curricular Unit

Aprendizagem Profunda, Licenciatura em Ciência de Dados Aplicada, Universidade Católica Portuguesa, 2024-2025.

Syllabus

Module Topic Lecture Exercises
1 Course Introduction lecture -
2 NumPy Fundamentals lecture exercises
3 The Perceptron lecture exercises
4 PyTorch Introduction lecture exercises
5 Training Neural Networks lecture -
6 Neural Networks with PyTorch lecture exercises
7 Model Selection and Hyperparameter Tuning lecture -
8 Neural Networks with PyTorch lecture exercises
9 Regularization lecture -
10 Convolutional Neural Networks lecture -
11 Convolutional Neural Networks - Hands-On lecture exercises
12 Convolutional Neural Networks - Hands-On lecture exercises
13 Intro to Computer Vision and Image Classification lecture
14 Recurrent Neural Networks lecture -
15 Recurrent Neural Networks lecture exercises
16 Recurrent Neural Networks - Hands-On lecture exercises
17 Recurrent Neural Networks - Hands-On lecture exercises
18 Attention Mechanisms lecture -
19 Attention Mechanisms - Hands-On lecture exercises
20 Attention Mechanisms - Hands-On lecture exercises
21 Exam lecture -
22 Transformers lecture exercises
23 Transformers - Hands-On lecture exercises
24 Transformers - Hands-On lecture exercises
25 Work on Project lecture -
26 Multi-Topic Overview: Multimodal + Transfer + Efficient + Reinforcement Learning lecture -
27 Project Presentation lecture -

Setup

First, clone the repository from GitHub into your local machine. You can do this by running the following command in your terminal:

git clone https://github.com/LCDA-UCP/dl_with_pytorch.git

Open the repository in your favorite IDE and install the dependencies (if missing):

pip install -r requirements.txt

Note: If you are using a virtual environment, make sure to activate it before running the command above. Using a conda environment is recommended.

You also need to install pytorch. For that follow the instructions on the official website.

You can now commit and push your changes to your forked repository.

Create a branch with your name

To create a branch with your name, run the following command in your terminal:

git checkout -b your_name

This will create a new branch with your name and switch to it.

Pushing changes to your branch

To push your changes to your branch, run the following command in your terminal:

git push origin your_name

This will push your changes to your branch on GitHub.

Updating your branch with the latest changes from the main branch

If you want to update your branch with the latest changes from the main branch, you can do so pulling the changes from it.

For that, run the following command in your terminal:

git pull origin main

This will update your branch with the latest changes from the main branch.

If pull fails:

If you get an error message, make sure to commit your changes before pulling the changes from the main branch.

You may also need to fetch the changes from the main branch and merge them into your branch.

For that, run the following commands in your terminal:

git fetch origin main
git merge origin/main

If you have any conflicts, you will need to resolve them before committing the changes.

About

Deep Learning Course @ Catholic University of Portugal, Braga, 2024

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published