code: def _load_c2_pickled_weights(file_path):
      with g_pathmgr.open(file_path, "rb") as f:
          data = pickle.load(f, encoding="latin1")
      if "blobs" in data:
          weights = data["blobs"]
      else:
          weights = data
      return weights
  
file_path: vissl/extra_scripts/convert_caffe2_to_vissl_alexnet.py
imports: import argparse
  import logging
  import pickle
  import sys
  from collections import OrderedDict
  import numpy
  import torch
  from iopath.common.file_io import g_pathmgr
label_desc: Use image node_id 2 for calling a global function with example usage: _load_c2_pickled_weights(file_path) and returns: weights