code: def setUp(self):
      # initialize evaluation dataset/dataloader
      torch.manual_seed(42)
  
      stack = contextlib.ExitStack()
      dataset_root, path_manager = stack.enter_context(
          get_skateboard_data()
      )
      self.addCleanup(stack.close)
  
      category = "skateboard"
      frame_file = os.path.join(
          dataset_root, category, "frame_annotations.jgz"
      )
      sequence_file = os.path.join(
          dataset_root, category, "sequence_annotations.jgz"
      )
      self.image_size = 64
      expand_args_fields(JsonIndexDataset)
      self.dataset = JsonIndexDataset(
          frame_annotations_file=frame_file,
          sequence_annotations_file=sequence_file,
          dataset_root=dataset_root,
          image_height=self.image_size,
          image_width=self.image_size,
          box_crop=True,
          remove_empty_masks=False,
          path_manager=path_manager,
      )
      self.bg_color = (0.0, 0.0, 0.0)
  
      # init the lpips model for eval
      provide_lpips_vgg()
      self.lpips_model = lpips.LPIPS(net="vgg").cuda()
  
imports: import contextlib
  import dataclasses
  import itertools
  import math
  import os
  import unittest
  import lpips
  import numpy
  import torch
  from pytorch3d.implicitron.dataset.frame_data import FrameData
  from pytorch3d.implicitron.dataset.json_index_dataset import JsonIndexDataset
  from pytorch3d.implicitron.evaluation.evaluate_new_view_synthesis import eval_batch
  from pytorch3d.implicitron.models.base_model import ImplicitronModelBase
  from pytorch3d.implicitron.models.generic_model import GenericModel
  from pytorch3d.implicitron.models.model_dbir import ModelDBIR
  from pytorch3d.implicitron.tools.config import expand_args_fields, registry
  from pytorch3d.implicitron.tools.metric_utils import calc_psnr, eval_depth
  from pytorch3d.implicitron.tools.utils import dataclass_to_cuda_
  from .common_resources import get_skateboard_data, provide_lpips_vgg
label_desc: Use image node_id 1 for calling the TestEvaluation obj's underlying member method code with example usage: obj.setUp() without return types