Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Python API vs. Gym wrapper

Discussion in 'ML-Agents' started by Zephus, Jul 3, 2020.

  1. Zephus

    Zephus

    Joined:
    May 25, 2015
    Posts:
    356
    My question is pretty straight-forward - what are the use-cases for both the low-level API and the gym wrapper? Is there something one or the other can't do or is it up to my preference?
     
  2. seboz123

    seboz123

    Joined:
    Mar 7, 2020
    Posts:
    24
    Python API gives you more control, as it is for example possible to have multiple agents and multiple behaviors and control them. Also they both work a little bit differently. Gym wrapper is mainly for use cases if there is an exisiting algorithm you want to test. Correct me if I'm wrong.