code: def parse_args():
      parser = argparse.ArgumentParser(description="Browse a dataset")
      parser.add_argument("config", help="train config file path")
      parser.add_argument(
          "--skip-type",
          type=str,
          nargs="+",
          default=["DefaultFormatBundle", "Normalize", "Collect"],
          help="skip some useless pipeline",
      )
      parser.add_argument(
          "--output-dir",
          default=None,
          type=str,
          help="If there is no display interface, you can save it",
      )
      parser.add_argument(
          "--not-show", default=False, action="store_true"
      )
      parser.add_argument(
          "--show-interval",
          type=int,
          default=999,
          help="the interval of show (ms)",
      )
      args = parser.parse_args()
      return args
  
file_path: insightface/detection/scrfd/tools/browse_dataset.py
imports: import argparse
  import os
  from pathlib import Path
  import mmcv
  from mmcv import Config
  from mmdet.datasets.builder import build_dataset
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args