code: def __getstate__(self):
      return {"model_path": self.model_path}
  
imports: import os
  import os.path
  import glob
  import onnxruntime
  from .arcface_onnx import *
  from .retinaface import *
  from .landmark import *
  from .attribute import Attribute
  from .inswapper import INSwapper
  from ..utils import download_onnx
label_desc: Use image node_id 2 for calling the PickableInferenceSession obj's underlying member method code with example usage: obj.__getstate__() and returns: dict