code: def __init__(self, img_folder, feature_extractor):
      # Get path image annotations
      ann_file = os.path.join(img_folder, "_annotations.coco.json")
  
      # Default constructor
      super(CocoDetection, self).__init__(img_folder, ann_file)
  
      # Load the feature extractor
      self.feature_extractor = feature_extractor
  
imports: import os
  import torchvision
label_desc: Use image node_id 1 to create a new CocoDetection object from inherited base classes: torchvision.datasets with example: obj = CocoDetection(img_folder, feature_extractor)