code: def parse_args():
      """
      parse the arguments for DDPG training
  
      :return: (dict) the arguments
      """
      parser = argparse.ArgumentParser(
          formatter_class=argparse.ArgumentDefaultsHelpFormatter
      )
  
      parser.add_argument(
          "--env-id", type=str, default="HalfCheetah-v1"
      )
      boolean_flag(parser, "render-eval", default=False)
      boolean_flag(parser, "layer-norm", default=True)
      boolean_flag(parser, "render", default=False)
      boolean_flag(parser, "normalize-returns", default=False)
      boolean_flag(parser, "normalize-observations", default=True)
      parser.add_argument(
          "--seed", help="RNG seed", type=int, default=0
      )
      parser.add_argument("--critic-l2-reg", type=float, default=1e-2)
      parser.add_argument(
          "--batch-size", type=int, default=64
      )  # per MPI worker
      parser.add_argument("--actor-lr", type=float, default=1e-4)
      parser.add_argument("--critic-lr", type=float, default=1e-3)
      boolean_flag(parser, "enable-popart", default=False)
      parser.add_argument("--gamma", type=float, default=0.99)
      parser.add_argument("--reward-scale", type=float, default=1.0)
      parser.add_argument("--clip-norm", type=float, default=None)
      parser.add_argument(
          "--nb-train-steps", type=int, default=50
      )  # per epoch cycle and MPI worker
      parser.add_argument(
          "--nb-eval-steps", type=int, default=100
      )  # per epoch cycle and MPI worker
      parser.add_argument(
          "--nb-rollout-steps", type=int, default=100
      )  # per epoch cycle and MPI worker
      # choices are adaptive-param_xx, ou_xx, normal_xx, none
      parser.add_argument(
          "--noise-type", type=str, default="adaptive-param_0.2"
      )
      parser.add_argument("--num-timesteps", type=int, default=int(1e6))
      boolean_flag(parser, "evaluation", default=False)
      args = parser.parse_args()
      dict_args = vars(args)
      return dict_args
  
file_path: stable-baselines/stable_baselines/ddpg/main.py
imports: import argparse
  import time
  import os
  import gym
  import tensorflow
  import numpy
  from mpi4py import MPI
  from stable_baselines import logger, bench
  from stable_baselines.common.misc_util import set_global_seeds, boolean_flag
  from stable_baselines.ddpg.policies import MlpPolicy, LnMlpPolicy
  from stable_baselines.ddpg import DDPG
  from stable_baselines.ddpg.noise import AdaptiveParamNoiseSpec, OrnsteinUhlenbeckActionNoise, NormalActionNoise
label_desc: Use image node_id 2 for calling a global function with example usage: parse_args() and returns: dict_args