import tensorflow as tf

                inter = tf.reshape(values, [self.resolution,
                                            self.resolution,
                                            self.resolution])
                inter = tf.transpose(tf.reduce_max(inter, axis=a))
                im = axs[fig_obj_count, 4].matshow(inter.numpy())
                plt.colorbar(im, ax=axs[fig_obj_count, 4])
                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)
      status3 = False
      if status3:
        _ = plt.figure(figsize=(5, 5))
        plt.clf()
