import tensorflow as tf

                print(mtype, fig_obj_count, 2)
                fig_obj_count += 1

      intersection = tf.reduce_sum(tf.math.sign(tf.nn.relu(sdf_values - 1)))
      union = tf.reduce_sum(tf.math.sign(sdf_values))
      iou = intersection / union
      if not tf.math.is_nan(iou):
        ious.append(iou)
