code: def __init__(self, opt, type, dataset, modules_lib):
      super().__init__(opt)
      self.pointnet_seg = MiniPointNet(
          opt.pointnet.local_nn,
          opt.pointnet.global_nn,
          aggr=opt.pointnet.aggr,
          return_local_out=opt.pointnet.return_local_out,
      )
      self.seg_nn = MLP(opt.seg_nn)
  
imports: import torch.nn.functional
  import logging
  from omegaconf import OmegaConf
  from torch_points3d.core.base_conv.base_conv import *
  from torch_points3d.core.common_modules.base_modules import *
  from torch_points3d.utils.config import ConvolutionFormatFactory
  from torch_points3d.modules.PointNet import *
  from torch_points3d.models.base_model import BaseModel
  from torch_points3d.utils.model_building_utils.resolver_utils import flatten_dict
  from torch_points3d.datasets.segmentation import IGNORE_LABEL
label_desc: Use image node_id 1 to create a new SegPointNetModel object from inherited base classes: BaseModel with example: obj = SegPointNetModel(opt, type, dataset, modules_lib)