takuseno / d4rl-atari

Datasets for data-driven deep reinforcement learning with Atari (wrapper for datasets released by Google)
MIT License
101 stars 14 forks source link

some games not available? #5

Closed weiguowilliam closed 3 years ago

weiguowilliam commented 3 years ago

How can we find the names of all available datasets?

It looks like some games are not available:

d = gym.make('beamrider-mixed-v0')

The output is

Traceback (most recent call last):
  File "/home/xx/anaconda3/envs/pomdp/lib/python3.6/site-packages/gym/envs/registration.py", line 132, in spec
    return self.env_specs[id]
KeyError: 'beamrider-mixed-v0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/xx/anaconda3/envs/pomdp/lib/python3.6/site-packages/gym/envs/registration.py", line 156, in make
    return registry.make(id, **kwargs)
  File "/home/xx/anaconda3/envs/pomdp/lib/python3.6/site-packages/gym/envs/registration.py", line 100, in make
    spec = self.spec(path)
  File "/home/xx/anaconda3/envs/pomdp/lib/python3.6/site-packages/gym/envs/registration.py", line 142, in spec
    raise error.UnregisteredEnv('No registered env with id: {}'.format(id))
gym.error.UnregisteredEnv: No registered env with id: beamrider-mixed-v0
takuseno commented 3 years ago

@weiguowilliam Hello, sorry for the inconvenience. You can check the actual list here. https://github.com/takuseno/d4rl-atari/blob/master/d4rl_atari/__init__.py For example, BeamRider is beam-rider.

weiguowilliam commented 3 years ago

Thanks!