This repo contains source code for the natural signal Atari environments, introduced in the paper Natural Environment Benchmarks for Reinforcement Learning.
- Install dependencies with
pip install gym[atari] pygame scikit-video opencv-python
- Prepare a directory of images or videos
- Play with new versions of Atari games with the following commands:
# Inject gaussian noise to the observations
./natural_env.py --env BreakoutNoFrameskip-v4 --imgsource noise
# Inject some video signals to the observations
./natural_env.py --env SpaceInvadersNoFrameskip-v4 --imgsource videos --resource-files "~/my/videos/*.mp4"
This project is under the CC-BY-NC 4.0 license. See LICENSE for details.