import tensorflow as tf

                                          self.resolution,
                                          self.resolution])
              inter = tf.transpose(tf.reduce_max(inter, axis=a))
              im = axs[fig_obj_count, mtype * 2 + 1].matshow(inter.numpy())
              plt.colorbar(im, ax=axs[fig_obj_count, mtype * 2 + 1])
              print(mtype, fig_obj_count, 1)

              if mtype == 1:
                values = sdf_values
                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
