This page will show you how to set up your computer to follow along with the examples in the CrePre workshop.

All of our code examples are provided as Python 3 code in jupyter notebooks.

You’re very welcome to set this up before the tutorial, but during the tutorial we won’t have much time to help individuals with their python installation. If you’re having trouble you can follow on the screen or try out some notebooks in Google Colab (online) – see below.

Running examples on your computer

Basically: you need a Python 3 environment with up-to-date versions of: keras, tensorflow, numpy, pandas, matplotlib, music21, jupyter

Annoyingly, there are two popular ways to set up Python on your computer: one installs python packages together in a special “environment” for each project you do, and the other sets up the packages for every project on your system.

Setup with Anaconda

Setup with Pip

Running examples in a browsers

You can also (potentially) run these notebooks on Google Colaboratory (, an online Jupyter notebook system that could be useful, however, it’s a bit more tricky to distribute the jupyter notebooks so that you can easily open them in Colab. Try moving the notebooks (ipynb files from the Github Repo) in your Google Drive and opening them, they should start up a colab instance.

I’ve been running most of my experiments over summer in Colab! It works really well!