docstr: Data object contains:
      pos - points
      x - features
docstr_tok: ["Data","object","contains",":","pos","-","points","x","-","features"]
code: def __getitem__(self, idx):
      """
      Data object contains:
          pos - points
          x - features
      """
      if not isinstance(idx, int):
          raise ValueError("Only integer indices supported")
  
      # Get raw data and apply transforms
      data = super().__getitem__(idx)
  
      # Extract instance and box labels
      self._set_extra_labels(data)
      data.y = super()._remap_labels(data.y)
      return data
  
imports: import os
  import numpy
  import torch
  import logging
  from torch_geometric.data import InMemoryDataset
  from torch_points3d.datasets.segmentation.scannet import Scannet
  from torch_points3d.metrics.panoptic_tracker import PanopticTracker
  from torch_points3d.datasets.base_dataset import BaseDataset, save_used_properties
  from torch_points3d.datasets.panoptic.utils import set_extra_labels
label_desc: Use image node_id 2 for calling the ScannetPanoptic obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: data