In this video you’ll learn how to do exactly that in 25 minutes. In this video you’ll learn how to build a basic custom reinforcement learning environment to get started with reinforcement learning. We’ll go through how to build your own environment class, setting up the init, step and reset methods and then train a simple RL model to learn how to interact with it using Python, Keras-RL and OpenAI Gym.

In this video you’ll go through:

  1. How to build a custom environment with OpenAI Gym
  2. Training a DQN Agent on a Custom OpenAI Environment
  3. Testing out a Reinforcement Learning agent on a Custom Environment

Chapters
0:00​ - Start
0:30​ - Cloning Baseline Reinforcement Learning Code
3:12​ - Custom Environment Blueprint and Scenario
5:22​ - Installing and Importing Dependencies
7:44​ - Creating a Custom Environment with OpenAI Gym
9:21​ - Coding the init() method for a OpenAI Environment
12:26​ - Coding the step() method for an OpenAI Environment
16:50​ - Coding the reset() method for an OpenAI Environment
17:23​ - Testing a Custom OpenAI Environment
20:29​ - Training a DQN Agent with Keras-RL
23:48​ - Running a DQN Agent on a Custom Environment using Keras-RL

Get the CODE: https://github.com/nicknochnack/OpenA…

Subscribe: https://www.youtube.com/channel/UCHXa4OpASJEwrHrLeIzw7Yg

#python #deep-learning

Building a Custom Environment for Deep Reinforcement Learning with OpenAI Gym and Python
17.75 GEEK