code: def parse_args():
      parser = argparse.ArgumentParser(
          "Run an already learned DQN model."
      )
      # Environment
      parser.add_argument(
          "--env", type=str, required=True, help="name of the game"
      )
      parser.add_argument(
          "--model-dir",
          type=str,
          default=None,
          help="load model from this directory. ",
      )
      parser.add_argument(
          "--video",
          type=str,
          default=None,
          help="Path to mp4 file where the \
                          video of first episode will be recorded.",
      )
      boolean_flag(
          parser,
          "stochastic",
          default=True,
          help="whether or not to use stochastic \
                   actions according to models eps value",
      )
      boolean_flag(
          parser,
          "dueling",
          default=False,
          help="whether or not to use dueling model",
      )
      # V: Attack Arguments#
      parser.add_argument(
          "--model-dir2",
          type=str,
          default=None,
          help="load adversarial model from \
                          this directory (blackbox attacks). ",
      )
      parser.add_argument(
          "--attack",
          type=str,
          default=None,
          help="Method to attack the model.",
      )
      boolean_flag(
          parser,
          "noisy",
          default=False,
          help="whether or not to NoisyNetwork",
      )
      boolean_flag(
          parser,
          "noisy2",
          default=False,
          help="whether or not to NoisyNetwork",
      )
      boolean_flag(
          parser,
          "blackbox",
          default=False,
          help="whether or not to NoisyNetwork",
      )
  
      return parser.parse_args()
  
imports: import argparse
  import gym
  import os
  import numpy
  from gym.monitoring import VideoRecorder
  import rlattack.common.tf_util
  from rlattack import deepq
  from rlattack.common.misc_util import boolean_flag, SimpleMonitor
  from rlattack.common.atari_wrappers_deprecated import wrap_dqn
  import tensorflow
  import cv2
  from collections import deque
  from model import model, dueling_model
  from statistics import statistics
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser