class_docstr: Class that provides tracking of semantic segmentation as well as
  instance segmentation 
class_docstr_tok: ["Class","that","provides","tracking","of","semantic","segmentation","as","well","as","instance","segmentation"]
docstr: Returns a dictionnary of all metrics and losses being tracked
          
docstr_tok: ["Returns","a","dictionnary","of","all","metrics","and","losses","being","tracked"]
code: def get_metrics(self, verbose=False) -> Dict[str, Any]:
      """Returns a dictionnary of all metrics and losses being tracked"""
      metrics = super().get_metrics(verbose)
  
      metrics["{}_pos".format(self._stage)] = meter_value(self._pos)
      metrics["{}_neg".format(self._stage)] = meter_value(self._neg)
      metrics["{}_Iacc".format(self._stage)] = meter_value(
          self._acc_meter
      )
  
      if self._has_instance_data:
          mAP = sum(self._ap.values()) / len(self._ap)
          metrics["{}_map".format(self._stage)] = mAP
  
      if verbose:
          metrics[
              "{}_iou_per_class".format(self._stage)
          ] = self._iou_per_class
  
      if verbose and self._has_instance_data:
          metrics[
              "{}_class_rec".format(self._stage)
          ] = self._dict_to_str(self._rec)
          metrics[
              "{}_class_ap".format(self._stage)
          ] = self._dict_to_str(self._ap)
      return metrics
  
imports: import torchnet
  from typing import NamedTuple, Dict, Any, List, Tuple
  import torch
  import numpy
  from torch_scatter import scatter_add
  from collections import OrderedDict, defaultdict
  from torch_points3d.models.model_interface import TrackerInterface
  from torch_points3d.metrics.segmentation_tracker import SegmentationTracker
  from torch_points3d.metrics.base_tracker import BaseTracker, meter_value
  from torch_points3d.models.panoptic.structures import PanopticResults, PanopticLabels
  from torch_points_kernels import instance_iou
  from .box_detection.ap import voc_ap
label_desc: Use image node_id 9 for calling the PanopticTracker obj's underlying member method code with example usage: obj.get_metrics(verbose) and returns: metrics