Once the installation is complete, you can test the game using your keyboard inputs by running the following commands:
(rl_gym_book) praveen@ubuntu:~/HOIAWOG/ch9$ cd deepmindlab
(rl_gym_book) praveen@ubuntu:~/HOIAWOG/ch9/deepmindlab$ bazel run :game -- --level_script=tests/empty_room_test
You can also test it with the help of a randomly acting agent using the following command:
(rl_gym_book) praveen@ubuntu:~/HOIAWOG/ch9/deepmindlab$ bazel run :python_random_agent --define graphics=sdl -- --length=5000
To get started with your own agent development, you can use the example agent script that was already configured to interact with the DeepMind Lab environment. You can find the script at ~/HOIAWOG/ch9/deepmindlab/python/random_agent.py. To start training that agent, you can use the following command:
(rl_gym_book) praveen@ubuntu:~/HOIAWOG/ch9/deepmindlab$ bazel run :python_random_agent