code: def save_pkl(obj, filename):
      with open(filename, "wb") as file:
          pickle.dump(obj, file, protocol=pickle.HIGHEST_PROTOCOL)
  
file_path: insightface/reconstruction/ostec/external/stylegan2/training/misc.py
imports: import os
  import pickle
  import numpy
  import PIL.Image
  import PIL.ImageFont
  import dnnlib
label_desc: Use image node_id 3 for calling a global function with example usage: save_pkl(obj, filename) without return types