Go to file
2023-10-09 10:02:01 +00:00
autoencoder_cifar10.ipynb Upload files to '' 2023-10-09 10:02:01 +00:00
autoencoder_mnist.ipynb Upload files to '' 2023-10-09 10:02:01 +00:00
conv_animation.ipynb Upload files to '' 2023-10-09 10:02:01 +00:00
CPS_Database_Basics.ipynb Upload files to '' 2023-10-03 06:01:41 +00:00
CPS_Python_Basics.ipynb first commit 2023-10-02 09:59:58 +02:00
data_exploration.ipynb Upload files to '' 2023-10-09 09:57:14 +00:00
evaluation_results.log Upload files to '' 2023-10-09 10:02:01 +00:00
Machine Learning Models .pdf Upload files to '' 2023-10-09 09:57:14 +00:00
MLBook.pdf Upload files to '' 2023-10-09 09:57:14 +00:00
normalized_test_data.csv Upload files to '' 2023-10-09 09:57:14 +00:00
normalized_train_data.csv Upload files to '' 2023-10-09 09:57:14 +00:00
README.md Upload files to '' 2023-10-09 10:02:01 +00:00

This is the coding part of the lecture Deep Representation Learning in PyTorch.

python 3.10

Autoencoder

In this demo we will implement a simple autoencoder. The autoencoder will be trained on the MNIST dataset. The autoencoder will be implemented in the file autoencoder.py. The file autoencoder.py contains a class Autoencoder on the MNIST dataset. We compare the performance of the fully connected autoencoder with a convolutional autoencoder. Jupyter notebooks:

  • autoencoder_mnist.ipynb
  • autoencoder_cifar10.ipynb

Contractive Learning (SimCLR)

In this demo we implemented the SimClR [1] algorithm and trained it on the cifar10 dataset.

Download the pretrained encoder here and put it in the folder runs.

The code was adapted from this repo

Jupyter notebooks:

  • simclr.ipynb

[1] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. 2020. A simple framework for contrastive learning of visual representations. In Proceedings of the 37th International Conference on Machine Learning (ICML'20), Vol. 119. JMLR.org, Article 149, 15971607.