All code is in the python notebook CompImagingFinal.ipynb
It was written and tested on Google Colab.
Prerequisite installation shell commands are at the top.

You will need to run the preprocessing step once only.
To do so, uncomment the following lines and run them once.
# os.makedirs('CamVid/preprocessed_labels', exist_ok=False)
# preprocess_dataset("CamVid/test_labels", "CamVid/preprocessed_labels/test_labels_indices")
# preprocess_dataset("CamVid/train_labels", "CamVid/preprocessed_labels/train_labels_indices")
# preprocess_dataset("CamVid/val_labels", "CamVid/preprocessed_labels/val_labels_indices")

If you are not using Colab, you will have to change the paths.
