code: def remove_jigsaw_names(data):
      output_blobs, count = {}, 0
      logger.info("Correcting jigsaw model...")
      remove_suffixes = ["s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8"]
      for item in sorted(data.keys()):
          if "s0" in item:
              out_name = item.replace("_s0_", "_")
              logger.info(
                  "input_name: {} out_name: {}".format(item, out_name)
              )
              output_blobs[out_name] = data[item]
          elif any(x in item for x in remove_suffixes):
              count += 1
              logger.info("Ignoring: {}".format(item))
          else:
              logger.info("adding: {}".format(item))
              output_blobs[item] = data[item]
  
      logger.info("Original #blobs: {}".format(len(data.keys())))
      logger.info("Output #blobs: {}".format(len(output_blobs.keys())))
      logger.info("Removed #blobs: {}".format(count))
      return output_blobs
  
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 1 for calling a global function with example usage: remove_jigsaw_names(data) and returns: output_blobs