Tech Tips

  1. 要素技術
  2. 823 view

How to define my environment with TF-Agents

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. Run Amazon FreeRTOS on M5Stack Core2 for AWS …

  2. Udacity Self-Driving Car Engineer Nanodegree …

  3. How to draw circle/line/text, show tooltip an…

  4. I read Software Systems Architecture 2nd Edit…

  5. How to define my environment with TF-Agents