code: def main():
      parser = argparse.ArgumentParser(
          description="Convert VISSL ResNe(X)ts models to Torchvision"
      )
      parser.add_argument(
          "--model_url_or_file",
          type=str,
          default=None,
          required=True,
          help="Model url or file that contains the state dict",
      )
      parser.add_argument(
          "--output_dir",
          type=str,
          default=None,
          required=True,
          help="Output directory where the converted state dictionary will be saved",
      )
      parser.add_argument(
          "--output_name",
          type=str,
          default=None,
          required=True,
          help="output model name",
      )
      args = parser.parse_args()
      convert_and_save_model(args, replace_prefix="_feature_blocks.")
  
file_path: vissl/extra_scripts/convert_vissl_to_torchvision.py
imports: import argparse
  import logging
  import sys
  import torch
  from iopath.common.file_io import g_pathmgr
  from vissl.utils.checkpoint import replace_module_prefix
  from vissl.utils.io import is_url
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types