code: def __init__(self):
      self.args = self.get_parser().parse_args()
      self._try_downloading_necessities(self.args.model_name)
      self.detection_model = self._build_detection_model()
  
      os.makedirs(self.args.output_folder, exist_ok=True)
  
imports: import argparse
  import os
  import cv2
  import numpy
  import torch
  from maskrcnn_benchmark.config import cfg
  from maskrcnn_benchmark.layers import nms
  from maskrcnn_benchmark.modeling.detector import build_detection_model
  from maskrcnn_benchmark.structures.image_list import to_image_list
  from maskrcnn_benchmark.utils.model_serialization import load_state_dict
  from mmf.utils.download import download
  from PIL import Image
  from tools.scripts.features.extraction_utils import chunks, get_image_files
label_desc: Use image node_id 1 to create a new FeatureExtractor object  with example: obj = FeatureExtractor()