Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 688 Bytes

Gym.md

File metadata and controls

13 lines (10 loc) · 688 Bytes

OpenAI Gym wrappers

Installing ViZDoom with pip install vizdoom[gym] will include Gym wrappers to interact with ViZDoom over Gym API.

These wrappers are under gym_wrappers, containing the basic environment and few example environments based on the built-in scenarios. This environment simply initializes ViZDoom with the settings from the scenario config files and implements the necessary API to function as a Gym API.

See following examples for use:

  • examples/python/gym_wrapper.py for basic usage
  • examples/python/learning_stable_baselines.py for example training with stable-baselines3