code: def initialize_vizdoom(config_file_path):
      print("Initializing doom...")
      game = DoomGame()
      game.load_config(config_file_path)
      game.set_window_visible(False)
      game.set_mode(Mode.PLAYER)
      game.set_screen_format(ScreenFormat.GRAY8)
      game.set_screen_resolution(ScreenResolution.RES_640X480)
      game.init()
      print("Doom initialized.")
      return game
  
imports: import itertools
  import pickle
  from random import randint, random, sample
  from time import sleep, time
  import numpy
  import skimage.color
  import skimage.transform
  import theano
  from lasagne.init import Constant, HeUniform
  from lasagne.layers import Conv2DLayer, DenseLayer, InputLayer, get_all_param_values, get_all_params, get_output, set_all_param_values
  from lasagne.nonlinearities import rectify
  from lasagne.objectives import squared_error
  from lasagne.updates import rmsprop
  from theano import tensor
  from tqdm import trange
  from vizdoom import DoomGame, Mode, ScreenFormat, ScreenResolution, os, vzd
label_desc: Use image node_id 5 for calling a global function with example usage: initialize_vizdoom(config_file_path) and returns: game