code: def __init__(self, model_file=None, session=None):
      import onnxruntime
  
      self.model_file = model_file
      self.session = session
      self.taskname = "detection"
      if self.session is None:
          assert self.model_file is not None
          assert osp.exists(self.model_file)
          self.session = onnxruntime.InferenceSession(
              self.model_file, None
          )
      self.center_cache = {}
      self.nms_thresh = 0.4
      self.det_thresh = 0.5
      self._init_vars()
  
file_path: insightface/python-package/insightface/model_zoo/retinaface.py
imports: from __future__ import division
  import datetime
  import numpy
  import onnx
  import onnxruntime
  import os
  import os.path
  import cv2
  import sys
label_desc: Use image node_id 1 to create a new RetinaFace object  with example: obj = RetinaFace(model_file, session)