This repository aims to provides agents that play Atari games with human-plausible active vision behavior.
- Linux or MacOS system, Windows is NOT supported
- python (recommended version: 3.11)
All four installation steps are required
- The following system wide dependencies are needed. Exact names on non-debian distros may vary.
- cmake version 4 is not supported. Installl cmake version 3
sudo apt install cmake libx11-dev libglew-dev patchelf build-essential zlib1g-dev libglib2.0-0git clone https://github.com/ciao-group/atari-cr
cd atari-cr
pip install -e .Install Atari ROMs by running
curl -L https://www.atarimania.com/roms/Atari-2600-VCS-ROM-Collection.zip -o x.zip && unzip x.zip
python -m atari_py.import_roms ROMS && rm -r ROMS 'HC ROMS' x.zipor follow the steps described in https://github.com/openai/atari-py
Download and decompress the Atari-HEAD dataset:
./data/Atari-HEAD/download.sh- Run
python src/atari_cr/agents/dqn_atari_cr/main.pyto train an agent. Seepython src/atari_cr/agents/dqn_atari_cr/main.py --helpfor viable arguments. - Use
python src/atari_cr/hyperparams.pyto test multiple agents with different hyperparameters. - Use
./run.shto start hyperparameter tuning together with tensorboard.
We thank the authors of SugaRL from which this repository was forked.