code: def init_args():
      parser = argparse.ArgumentParser(description="DBNet.paddle")
      parser.add_argument(
          "--model_path",
          required=False,
          default="output/DBNet_resnet18_FPN_DBHead/checkpoint/1.pth",
          type=str,
      )
      args = parser.parse_args()
      return args
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/tools/eval.py
imports: import os
  import sys
  import pathlib
  import argparse
  import time
  import paddle
  from tqdm.auto import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: init_args() and returns: args