Skip to content

Commit

Permalink
♻️ remove halfcheetah
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryo Okada committed Feb 4, 2022
1 parent 302034d commit 32a0100
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gym/data/download_d4rl_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@

datasets = []

for env_name in ['halfcheetah', 'hopper', 'walker2d']:
for env_name in ['hopper', 'walker2d']: #'halfcheetah',
for dataset_type in ['medium', 'medium-replay', 'expert']:
name = f'{env_name}-{dataset_type}-v2'
print(name)
env = gym.make(name)
env.reset()
env.step(env.action_space.sample())
dataset = env.get_dataset()

N = dataset['rewards'].shape[0]
Expand Down

0 comments on commit 32a0100

Please sign in to comment.