COMP9444 Tensorflow should be installed before running the python code. The training and testing data set MNIST can be downloaded from official tutorials of TensorFlow