v0.5.0
Key changes
PyArrow support
Minari now supports PyArrow datasets. To create a new dataset using PyArrow, set the data_format
flag to arrow
during the creation of a DataCollector
or while creating a dataset with a buffer. For example:
env = DataCollector(env, data_format="arrow")
Loading a dataset doesn't require any change, Minari will detect automatically the data format.
Namespaces
Datasets can now be grouped to create a more organized dataset hub. For example, current remote datasets, which are reproductions of the D4RL
datasets, are grouped under a namespace called D4RL
. We encourage grouping datasets based on the environment used to produce them, if applicable. For instance, the previously named door-human-v2
dataset is now referenced as D4RL/door/human-v2
. Multiple datasets are available in the D4RL
group as well as in the D4RL/door
subgroup, such as D4RL/door/cloned-v2
. These grouped datasets can share metadata, enhancing their organization and accessibility.
For more information on creating and managing namespaces, please refer to the documentation page.
Support for other remotes
You can now set your own remote storage in Minari. Currently, only Google Cloud buckets are supported, but we plan to add support for other cloud services in the future. To configure your remote storage, set the MINARI_REMOTE
environment variable, for example as follows:
export MINARI_REMOTE=gcp://bucket-name
Breaking changes
This release introduces a few breaking changes:
- The deprecated versioning of
DataCollector
has been removed. It can now only be imported asDataCollector
, not asDataCollectorV0
. DataCollector
no longer supportsmax_episode_step
.- We remove the deprecated method
minari.create_dataset_from_collector_env
; useDataCollector.create_dataset
instead. - The naming convention has been changed as explained above. When using Minari 0.5.0, remote dataset names have been updated to adhere to the new convention.
- We renamed
total_timesteps
tototal_steps
to unify the naming across the library.
Contributors
New contributors
- @tomekster made their first contribution in #183
- @cmmcirvin made their first contribution in #196
- @pseudo-rnd-thoughts made their first contribution in #211
- @JosephCarrino made their first contribution in #218
- @jamartinh made their first contribution in #177
Others contributors
Full Changelog: v0.4.3...v0.5.0