code: def parse_args():
      parser = argparse.ArgumentParser(
          description="NNUnet model evaluation"
      )
  
      parser.add_argument(
          "--gt_dir",
          dest="gt_dir",
          help="The path to gt result",
          type=str,
          default=None,
      )
      parser.add_argument(
          "--val_pred_dir",
          dest="val_pred_dir",
          help="The path to val data result",
          type=str,
          default=None,
      )
      parser.add_argument(
          "--folds",
          dest="folds",
          help="The number of cross validation folds.",
          type=int,
          default=5,
      )
      return parser.parse_args()
  
file_path: PaddleSeg/contrib/MedicalSeg/nnunet/all_folds_eval.py
imports: import argparse
  import os
  import sys
  import json
  import shutil
  from typing import Tuple
  from nnunet.utils import aggregate_scores, determine_postprocessing
label_desc: Use image node_id 4 for calling a global function with example usage: parse_args() and returns: parser