Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Tensor-Reloaded/Advanced-Topics-in-Neural-Networks-Template-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image_clipdrop-enhance

Repository for the Advanced Topics in Neural Networks laboratory, "Alexandru Ioan Cuza" University, Faculty of Computer Science, Master degree.

How to use

  1. Fork the repository.
  2. Upload the assignments in their corresponding "LabX/Solution" directory of your fork.
  3. If you are doing your homework in a Jupyter Notebook, add the "Open in Colab" option.
  4. Check the course website and Github Repository at least once a week. Read the updates to the README files as they contain important information regarding helpful resources and assignments.
  5. Sync your personal fork whenever changes appear in the upstream repository.

Environment setup

PyTorch, Pandas, Numpy, Tensorboard, Matplotlib, and Opencv are already available in Google Colab.

Local installation:

  1. Create a Python virtual environment (the current stable version for PyTorch 2.0.1 is Python 3.10 PyTorch 2.1.1 is Python 3.11).
    • If you are using conda, use conda config --add channels conda-forge first to add conda-forge as your highest priority channel.
  2. Activate the virtual environment and install PyTorch from pytorch.org using conda or pip, depending on your environment.
    • Choose the Stable Release, choose your OS, select Conda or Pip and your compute platform. For Linux and Windows, CUDA 1X.X or CPU builds are available, while for Mac, only builds with CPU and MPS acceleration.
    • Example CPU: conda install pytorch torchvision torchaudio cpuonly -c pytorch.
  3. Install Tensorboard.
    • conda install -c conda-forge tensorboard / pip install tensorboard.
  4. Install Matplotlib.
    • conda install -c conda-forge matplotlib / pip install matplotlib.
  5. Install Opencv.
    • conda install -c conda-forge opencv / pip install opencv-python.

Recommended resources:

Table of contents

  • Lab01: Logistic Regression (Homework: Implementing Multiclass Logistic Regression)
  • Lab02: Tensor Operations (Homework: Implementing the Perceptron algorithm)
  • Lab03: Advanced Tensor Operations (Homework: Implementing a Multi Layer Perceptron)
  • Lab04: PyTorch Datasets, DataLoaders, Torchvision transforms (Homework: Implementing a training pipeline)
  • Lab05: Advanced Data Augmentation techniques (RandAug, CutMix, MixUp) (Homework: Finetuning a training pipeline)
  • Lab06: ReLU, Leaky ReLU, ELU, Internal Covariate Shift, Dropout
  • Lab07: Convolutions, AlexNet, ResNet, R-CNN, Yolo (Homework: Training a CNN on CIFAR-10/100)
  • Lab09: Reinforcement Learning (Q-Learning, AlphaZero, MuZero, ReBeL)
  • Lab10: RNN, LSTM, GRU, torch.compile, torch.jit.script, torch.jit.trace, float16, bfloat16, autocst
  • Lab11: Optimizing PyTorch pipelines
  • Lab12: Self-Supervised Learning, Autoencoders, GAN and Diffusion
  • Lab13: Multi-Headed Attention, Transformers, BERT, GPT
  • Projects

About

UAIC FII ATNN, 2023, Lab Template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages