code: def parse_args(argv):
      """Parses command line arguments."""
      parser = argparse.ArgumentParser(
          formatter_class=argparse.ArgumentDefaultsHelpFormatter
      )
      parser.add_argument(
          "--config",
          required=True,
          choices=configs.valid_configs(),
          help="The config to use.",
      )
      parser.add_argument(
          "--ckpt_dir",
          required=True,
          help=(
              "Path to the folder where checkpoints of the "
              "trained model are."
          ),
      )
      parser.add_argument(
          "--out_dir", required=True, help="Where to save outputs."
      )
  
      parser.add_argument("--images_glob", help="If given, use TODO")
  
      helpers.add_tfds_arguments(parser)
  
      args = parser.parse_args(argv[1:])
      return args
  
file_path: compression/models/hific/evaluate.py
imports: import argparse
  import collections
  import glob
  import itertools
  import os
  import sys
  import numpy
  from PIL import Image
  import tensorflow.compat.v1
  import tensorflow_compression
  from hific import configs
  from hific import helpers
  from hific import model
label_desc: Use image node_id 5 for calling a global function with example usage: parse_args(argv) and returns: args