Code Monkey home page Code Monkey logo

Comments (4)

nicklashansen avatar nicklashansen commented on August 17, 2024

Hi! Did you follow our setup instructions and installed our custom packages? We use custom versions for DMControl and dmc2gym: https://github.com/nicklashansen/dmcontrol-generalization-benchmark/blob/main/setup/install_envs.sh
Note that this version of DMControl is slightly outdated and requires a MuJoCo license. You can obtain a free license at MuJoCo's website. Let me know if that doesn't solve the issue!

from dmcontrol-generalization-benchmark.

Guozheng-Ma avatar Guozheng-Ma commented on August 17, 2024

Thank you so much for the quick reply. I tried to reinstall your custom packages as the setup instructions, but I still face the issue as:

Traceback (most recent call last):
  File "src/train.py", line 150, in <module>
    main(args)
  File "src/train.py", line 50, in main
    mode='train'
  File "/home/mgz_21/0_Project/DMControl-GB/src/env/wrappers.py", line 48, in make_env
    background_dataset_paths=paths
  File "/home/mgz_21/0_Project/DMControl-GB/src/env/dmc2gym/dmc2gym/__init__.py", line 36, in make
    if not env_id in gym.envs.registry.env_specs:
AttributeError: 'dict' object has no attribute 'env_specs'

from dmcontrol-generalization-benchmark.

MyIDis12138 avatar MyIDis12138 commented on August 17, 2024

Thank you so much for the quick reply. I tried to reinstall your custom packages as the setup instructions, but I still face the issue as:

Traceback (most recent call last):
  File "src/train.py", line 150, in <module>
    main(args)
  File "src/train.py", line 50, in main
    mode='train'
  File "/home/mgz_21/0_Project/DMControl-GB/src/env/wrappers.py", line 48, in make_env
    background_dataset_paths=paths
  File "/home/mgz_21/0_Project/DMControl-GB/src/env/dmc2gym/dmc2gym/__init__.py", line 36, in make
    if not env_id in gym.envs.registry.env_specs:
AttributeError: 'dict' object has no attribute 'env_specs'

I have met the same issue like this, it seems the dmc2gym didn't work

from dmcontrol-generalization-benchmark.

siaoliu avatar siaoliu commented on August 17, 2024

use gym==0.24 to solve this problem

from dmcontrol-generalization-benchmark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.