Skip to main content

Easy-to-use D4RL offline dataset loader

Project description

just-d4rl

Easy-to-use D4RL offline dataset loader

Installation

pip install just-d4rl

Usage

from just_d4rl import d4rl_offline_dataset

dataset = d4rl_offline_dataset("hopper-medium-v2")
dataset = d4rl_offline_dataset("walker2d-random-v2")
dataset = d4rl_offline_dataset("halfcheetah-medium-expert-v2")
dataset = d4rl_offline_dataset("antmaze-umaze-v2")

dataset = d4rl_offline_dataset("hopper-medium-v2")
dataset['observations'].shape, dataset['actions'].shape, dataset['rewards'].shape, dataset['terminals'].shape, dataset['timeouts'].shape
# ((1000000, 11), (1000000, 3), (1000000,), (1000000,), (1000000,))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

just_d4rl-0.2407.1.tar.gz (7.7 kB view hashes)

Uploaded Source

Built Distribution

just_d4rl-0.2407.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page