code: def log_confusion_matrix(conf):
      log.info("====================================================")
      log.info("NUM POINTS : {}".format(np.sum(conf.confusion_matrix)))
      log.info("OA: {}".format(100 * conf.get_overall_accuracy()))
      log.info("MACC: {}".format(100 * conf.get_mean_class_accuracy()))
      log.info(
          "MIOU : {}".format(
              100 * conf.get_average_intersection_union()
          )
      )
      log.info("====================================================")
  
file_path: torch-points3d/scripts/cv_s3dis.py
imports: import os
  import hydra
  from omegaconf import OmegaConf
  import urllib.request
  import logging
  from torch_points3d.metrics.confusion_matrix import ConfusionMatrix
  import numpy
  from torch_points3d.trainer import Trainer
label_desc: Use image node_id 2 for calling a global function with example usage: log_confusion_matrix(conf) without return types