code: def __init__(self, list):
      self.list = list
      super().__init__()
  
imports: from collections.abc import Sequence
  from typing import List, Union
  import numpy
  import torch
  from sahi.annotation import BoundingBox, Category, Mask
  from sahi.prediction import ObjectPrediction
label_desc: Use image node_id 1 to create a new ObjectPredictionList object from inherited base classes: Sequence with example: obj = ObjectPredictionList(list)