|new 0.0.6||Sep 19, 2023|
|0.0.5||Jan 25, 2022|
|0.0.4||Jul 18, 2021|
#694 in Science
56 downloads per month
Used in 2 crates
A wrapper of Gymnasium environments on Python.
In a past, [`Atari`](https://gym.openai.com/envs/#atari), and [`PyBullet`](https://github.com/benelot/pybullet-gym) environments were supported. However, currently they are not tested.
This wrapper accepts array-like observation and action
Box spaces), and
discrete action. In order to interact with Python interpreter where gym is running,
GymActFilter provides interfaces for converting Python object
(numpy array) to/from ndarrays in Rust.
DiscreteActFilter do the conversion for environments
where observation and action are arrays. In addition to the data conversion between Python and Rust,
we can implements arbitrary preprocessing in these filters. For example,
four consevutive observation frames (images) and outputs a stack of these frames.