Imported from https://github.com/milliondegree/semantic-segmentation-tensorflow