Skip to content

Mind-the-Pineapple/Autoregressive-models

Repository files navigation

Deep Autoregressive Models

MIT license

This repository is a supplement to our blog series Deep Autoregressive Models.

Setup

Clone the git repository :

git clone https://github.com/Mind-the-Pineapple/Autoregressive-models.git

Python 3 with TensorFlow 2.0+ are the primary requirements. Install virtualenv and create a new virtual environment:

sudo apt update
sudo apt install python3-dev python3-pip
sudo pip3 install -U virtualenv  # system-wide install
virtualenv --system-site-packages -p python3 ./venv

Then, install requirements

source ./venv/bin/activate
pip3 install --upgrade pip
pip3 install -r requirements.txt

1. Autoregressive Models — PixelCNN

Creating digits with deep generative models!



2. Modelling Coloured Images

Extending the model to the full colour spectrum




3. PixelCNN's Blind Spot and how to fix it

How to fix the Pixel CNN's blind spot