Imported from https://github.com/tkuanlun350/Tensorflow-SegNet