code: def get_parser() -> argparse.Namespace:
      """Get argument parser."""
      parser = argparse.ArgumentParser(
          description="Evaluate pseudo MOS."
      )
      parser.add_argument(
          "gen_wavdir_or_wavscp",
          type=str,
          help="Path of directory or wav.scp for generated waveforms.",
      )
      parser.add_argument(
          "--outdir",
          type=str,
          help="Path of directory to write the results.",
      )
      parser.add_argument(
          "--device",
          type=str,
          default="cuda:0",
          help="Inference device",
      )
      parser.add_argument(
          "--mos_toolkit",
          type=str,
          default="utmos",
          choices=["utmos"],
          help="Toolkit to calculate pseudo MOS.",
      )
      parser.add_argument(
          "--batchsize",
          default=4,
          type=int,
          help="Number of batches.",
      )
      parser.add_argument(
          "--verbose",
          default=1,
          type=int,
          help="Verbosity level. Higher is more logging.",
      )
      return parser
  
file_path: espnet/egs2/open_li110/asr1/pyscripts/utils/evaluate_pseudomos.py
imports: import argparse
  import fnmatch
  import logging
  import os
  from typing import List
  import librosa
  import numpy
  import torch
label_desc: Use image node_id 4 for calling a global function with example usage: get_parser() and returns: parser