HackAtari
This repository relies on OCAtari, a fork of the OpenAI Gym Atari environment. The OCAtari repository can be found here.
Installation
To install the OCAtari environment, please follow the instructions in the OCAtari repository, or simply run the following command:
pip install ocatari
To install the hackatari environment, run
pip install hackatari
or clone this repository and run the following command:
git clone https://github.com/k4ntz/HackAtari
cd HackAtari
pip install -e .
Usage
To use the HackAtari environment, simply import it as you would any other OpenAI Gym environment:
You can run the run.py file to start the original game or any of the modified versions.
E.g.:
python run.py -g Freeway # Starts normal Freeway (random agent)
python run.py -g Freeway -hu # Starts Freeway with the cars being invisible (interactive/human playing mode)
python run.py -g Freeway -m color8 # Starts Freeway with the cars of color #8 being (i.e. invisible) (random agent)
python run.py -g Freeway -m stop3 # Starts Freeway with stopping mode #3 (i.e. static cars) (random agent)
python run.py -g Seaquest -m oxygen disable_enemies gravity # Starts Seaquest with infinite oxygen, no enemy, gravity (random agent)
python run.py -g Kangaroo -m random_init disable_monkeys # Starts Kangaroo with random initial floor and no monkeys (random agent)
See the documentation or this markdown file for more information on the available modifications.
Cite our work
@article{delfosse2024hackatari,
title={HackAtari: Atari Learning Environments for Robust and Continual Reinforcement Learning},
author={Delfosse, Quentin and Bl{\"u}ml, Jannis and Gregori, Bjarne and Kersting, Kristian},
journal={arXiv preprint arXiv:2406.03997},
year={2024}
}
Metadata
Release files for hackatari 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hackatari-0.0.6.tar.gz | 19.4 kB | Without provenance | Details for hackatari-0.0.6.tar.gz |
Release files / hackatari-0.0.6.tar.gz
| Download URL | hackatari-0.0.6.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7a395526a6986ae1a8e390c6393d35858134d3227bf895274b2119b0d8a497e
|
|
BLAKE2b-256 checksum How to use checksums |
d811e0d101fe56c1211125b85946acd24e9a3ac342cab0c77defb90a12b365ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Security for hackatari 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.