A native Tensorflow implementation of semantic segmentation according to Multi-Scale Context Aggregation by Dilated Convolutions by Yu and Koltun.
Pretrained weights have been converted to TensorFlow from the original Caffe implementation.
Model pretrained either on CityScapes or on CamVid datasets is available.
You you're looking instead for a Keras+Theano implementation of this very same network you can find it here.
-
Download pretrained weights from here:
-
Move weights file into
data
directory. -
Run the model on the test image by executing
main_tf.py
.
This model has been tested with the following configuration:
- Ubuntu 16.04
- python 3.5.2
- tensorflow 1.1.0
- cv2 3.2.0
Thanks to DavideA which converted all weights from Caffe to Keras+Theano (here) making my effort of conversion towards TensorFlow much less painful than it could have been :-)