code: def parse_args():
      """Parse CLI arguments."""
  
      parser = _get_parser()
      args = vars(parser.parse_args())
      if args["prediction"] and args["training"]:
          logger.error("Select only prediction OR training.")
          raise ValueError("Select only prediction OR training.")
      return args
  
file_path: image-super-resolution/ISR/utils/utils.py
imports: import os
  import argparse
  from datetime import datetime
  import numpy
  import yaml
  from ISR.utils.logger import get_logger
label_desc: Use image node_id 2 for calling a global function with example usage: parse_args() and returns: args