Playing the game, testing a randomly acting agent, or training your own!

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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.35.77