Summary
We started the chapter by understanding what Stable Baselines is and how to install it. Then, we learned to create our first agent with Stable Baselines using a DQN. We also learned how to save and load an agent. Next, we learned how to create multiple independent environments using vectorization. We also learned about two types of vectorized environment called SubprocVecEnv and DummyVecEnv.
We learned that in SubprocVecEnv, we run each environment in a different process, whereas in DummyVecEnv, we run each environment in the same process.
Later, we learned how to implement a DQN and its variants to play Atari games using Stable Baselines. Next, we learned how to implement A2C and also how to create a custom policy network. Moving on, we learned how to implement DDPG and also how to view the computational graph in TensorBoard.
Going further, we learned how to set up the MuJoCo environment and how to train an agent to walk using TRPO. We also learned how to record...