Coder Social home page Coder Social logo

Comments (2)

Open-AGI avatar Open-AGI commented on July 29, 2024

python examples/body_interaction.py

I tested the py files in the examples/ of mujoco-py and they all worked normally.

but,I try run (env1) root@agi:/home/agi/Downloads/multi-agent-emergence-environments# bin/examine.py examples/hide_and_seek_quadrant.jsonnet examples/hide_and_seek_quadrant.npz

i get some err:


(env1) root@agi:/home/agi/Downloads/multi-agent-emergence-environments# bin/examine.py examples/hide_and_seek_quadrant.jsonnet examples/hide_and_seek_quadrant.npz

Inferred:
	names: examples/hide_and_seek_quadrant.jsonnet examples/hide_and_seek_quadrant.npz
	arguments: {}


Traceback (most recent call last):
  File "/home/agi/Downloads/multi-agent-emergence-environments/bin/examine.py", line 91, in <module>
    main()
  File "/root/anaconda3/envs/env1/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/root/anaconda3/envs/env1/lib/python3.9/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/root/anaconda3/envs/env1/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/root/anaconda3/envs/env1/lib/python3.9/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/agi/Downloads/multi-agent-emergence-environments/bin/examine.py", line 56, in main
    env, args_remaining_env = load_env(env_name, core_dir=core_dir,
  File "/home/agi/Downloads/mujoco-worldgen/mujoco_worldgen/util/envs/flexible_load.py", line 84, in load_env
    env = make_env(**args_to_pass)
  File "/home/agi/Downloads/mujoco-worldgen/mujoco_worldgen/util/envs/flexible_load.py", line 27, in result_wrapper
    return result(*args, **actual_kwargs)
  File "/home/agi/Downloads/multi-agent-emergence-environments/mae_envs/envs/hide_and_seek.py", line 390, in make_env
    env = AgentGeomObsMask2D(env, pos_obs_key='ramp_pos', mask_obs_key='mask_ar_obs',
  File "/home/agi/Downloads/multi-agent-emergence-environments/mae_envs/wrappers/line_of_sight.py", line 75, in __init__
    super().__init__(env)
  File "/root/anaconda3/envs/env1/lib/python3.9/site-packages/gym/core.py", line 247, in __init__
    self._warn_double_wrap()
  File "/root/anaconda3/envs/env1/lib/python3.9/site-packages/gym/core.py", line 258, in _warn_double_wrap
    raise error.DoubleWrapperError("Attempted to double wrap with Wrapper: {}".format(self.__class__.__name__))
gym.error.DoubleWrapperError: Attempted to double wrap with Wrapper: AgentGeomObsMask2D


from multi-agent-emergence-environments.

pythlang avatar pythlang commented on July 29, 2024

Not sure about the tf implementation, but one of my gym packages somehow updated and got a different error (and then I reverted to gym==0.10.5 which gave me your error and that's the gym version you're using) which I then solved by reverting to gym==0.10.8.

from multi-agent-emergence-environments.

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.