Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cffaa58 commit 32e5754Copy full SHA for 32e5754
research/deeplab/eval.py
@@ -126,7 +126,7 @@ def main(unused_argv):
126
weights = tf.to_float(tf.not_equal(labels, dataset.ignore_label))
127
128
# Set ignore_label regions to label 0, because metrics.mean_iou requires
129
- # range of labels = [0, dataset.num_classes). Note the ignore_lable regions
+ # range of labels = [0, dataset.num_classes). Note the ignore_label regions
130
# are not evaluated since the corresponding regions contain weights = 0.
131
labels = tf.where(
132
tf.equal(labels, dataset.ignore_label), tf.zeros_like(labels), labels)
0 commit comments