code: def test_trainer_on_scannet_object_detection(self):
      self.path_outputs = os.path.join(
          DIR_PATH, "data/scannet-fixed/outputs"
      )
      if not os.path.exists(self.path_outputs):
          os.makedirs(self.path_outputs)
      os.chdir(self.path_outputs)
  
      cfg = OmegaConf.load(
          os.path.join(
              DIR_PATH,
              "data/scannet-fixed/config_object_detection.yaml",
          )
      )
      cfg.training.epochs = 2
      cfg.training.num_workers = 0
      cfg.data.is_test = True
      cfg.data.dataroot = os.path.join(DIR_PATH, "data/")
      trainer = Trainer(cfg)
      trainer.train()
  
file_path: torch-points3d/test/test_trainer.py
imports: import unittest
  import sys
  import os
  from itertools import combinations
  from omegaconf.dictconfig import DictConfig
  from omegaconf.listconfig import ListConfig
  from omegaconf import OmegaConf
  import shutil
  from torch_points3d.trainer import Trainer
label_desc: Use image node_id 3 for calling the TestTrainer obj's underlying member method code with example usage: obj.test_trainer_on_scannet_object_detection() without return types