Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No registered env with id: halfcheetah-medium-v2 #7

Closed
QuBohao opened this issue Mar 22, 2022 · 1 comment
Closed

No registered env with id: halfcheetah-medium-v2 #7

QuBohao opened this issue Mar 22, 2022 · 1 comment

Comments

@QuBohao
Copy link

QuBohao commented Mar 22, 2022

When I run "python scripts/train.py --dataset halfcheetah-medium-v2", then exception occurred : "gym.error.UnregisteredEnv: No registered env with id: halfcheetah-medium-v2". And my gym version and mujoco version are all same as environment.yml

@jannerm
Copy link
Owner

jannerm commented Oct 4, 2022

This environment should be registered upon importing d4rl, so my guess is that something is wrong with the d4rl installation. You can check your installation by running:

python -c "import d4rl; print([k for k in d4rl.infos.DATASET_URLS.keys() if 'halfcheetah' in k])"

There should be a list of halfcheetah environments printed out.

Alternatively, you can use my docker image with:

docker pull jannerm/trajectory

for something that will work out of the box.

@jannerm jannerm closed this as completed Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants