-
Notifications
You must be signed in to change notification settings - Fork 45.3k
Open
Labels
models:researchmodels that come under research directorymodels that come under research directorytype:bugBug in the codeBug in the code
Description
models/research/deeplab/eval.py
Line 181 in 494cf0b
| iou = tf.where(tf.greater(tp + fn, 0.0), |
When calculate iou, we should pass the fn_op instead of fn to the calculation, or the iou would get nan.
iou = tf.where(tf.greater(tp + fn, 0.0),
tp_op / (tp + fn_op + fp),
tf.constant(np.NaN))
=>>>>
iou = tf.where(tf.greater(tp_op + fn_op, 0.0),
tp_op / (tp_op + fn_op + fp_op),
tf.constant(np.NaN))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
models:researchmodels that come under research directorymodels that come under research directorytype:bugBug in the codeBug in the code