code: def make_q_models(policy):
      if not isinstance(policy.action_space, gym.spaces.Discrete):
          raise UnsupportedSpaceException(
              f"Action space {policy.action_space} is not supported for DQN."
          )
  
      model = ModelCatalog.get_model_v2(
          obs_space=policy.observation_space,
          action_space=policy.action_space,
          num_outputs=policy.action_space.n,
          model_config=policy.config["model"],
          framework=policy.config["framework"],
          name=Q_SCOPE,
      )
  
      target_model = ModelCatalog.get_model_v2(
          obs_space=policy.observation_space,
          action_space=policy.action_space,
          num_outputs=policy.action_space.n,
          model_config=policy.config["model"],
          framework=policy.config["framework"],
          name=Q_TARGET_SCOPE,
      )
  
      return model, target_model
  
label_desc: Use image node_id 1 for calling a global function with example usage: make_q_models(policy) and returns: model,  target_model