DrSleep / tensorflow-deeplab-resnet

DeepLab-ResNet rebuilt in TensorFlow
MIT License
1.25k stars 429 forks source link

where is CRF #149

Closed rockeyben closed 6 years ago

rockeyben commented 6 years ago

Where is the implementation of CRF? It seems that only bilinear interpolation is implemented in evaluate.py Is it an omit for convenience?

# Predictions.
raw_output = net.layers['fc1_voc12']
raw_output = tf.image.resize_bilinear(raw_output, tf.shape(image_batch)[1:3,])
raw_output = tf.argmax(raw_output, dimension=3)
pred = tf.expand_dims(raw_output, dim=3) # Create 4-d tensor.
rockeyben commented 6 years ago

Oh, I found one in pull requests !