Tech Tips

  1. 要素技術
  2. 988 view

How to define my environment with TF-Agents

cartpole-env
TF-Agents is a library for Reinforcement Learning. I couldn’t find enough documents and articles to define my environment with TF-Agents. So, I leave how to define my environment as my note. RockScissorsPaperEnv class in the following notebook is my environment. It’s simple Rock scissors paper environment and number of round is 100. And opponent is always Rock.

In my investigation, at least action_spec method (type of actions) , observation_spec method (observable states) , _step method (one step process including reward calculation and determination of termination) and _reset method (reset environment state) are required.

要素技術 recent post

  1. How to Upload Program to Arduino Using Platfo…

  2. How to avoid GPG error when using ROS Docker …

  3. Trying to Develop Visited Countries Colored M…

  4. Run Amazon FreeRTOS on M5Stack Core2 for AWS …

  5. Udacity Self-Driving Car Engineer Nanodegree …

PAGE TOP