This code has been implemented in python language using Keras library with tensorflow backend and tested, though should be compatible with related environment. following Environement and Library needed to run the code:
Python 3 over Keras - tensorflow backend
Download the Massachusets and Ottawa road datasets from this link https://www.cs.toronto.edu/~vmnih/data/ and https://github.com/yhlleo/RoadNet to create both training dataset and ground truth dataset.