Closed pussinmood closed 2 weeks ago
Trying to do《Test on assembly-v2-goal-observable》 is the same issue like this.
I cannot reproduce this error. I have 3 questions:
1.yes,i tried other known tasks from metaworld,same issues. 2.i can run eval.py for tasks not from metaworld 3.i cloned metaworld from https://github.com/Farama-Foundation/Metaworld ,and pip install -e. metaworld==2.0.0 sorry to bother you with these numb issues.....
i also tried metaworld==0.1.0,different issue appeared: Traceback (most recent call last): File "/home/oem/data/fb/新项目/task_conditioned_adaptation-main/src/gym/gym_env.py", line 110, in reset return self.env.unwrapped.reset_model(seed=seed) TypeError: reset_model() got an unexpected keyword argument 'seed'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/oem/anaconda3/envs/eai-vc/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/oem/anaconda3/envs/eai-vc/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/oem/data/fb/新项目/task_conditioned_adaptation-main/src/run/eval.py", line 174, in
Hi, thank you for this additional information, and sorry to hear you are facing these issues... Have you followed all the installation guidelines? Have you had any trouble with some of them, or have you done additional installations? Also, in another issue (https://github.com/PierreMarza/task_conditioned_adaptation/issues/2), you updated your mujoco version, right? Have you done this after or before installing metaworld?
Thanks again for your attention and guidence ,i followed your installation guidelines,but some issues appeared such as lackness of something ,i solved them with
'''
sudo apt-get update
sudo apt-get install -y libx11-dev
sudo apt-get install libglew-dev
sudo apt-get install libegl1-mesa-dev
pip install cython==0.29.12(to avoid a issue)
'''
don't know why my mujoco==3.2.2,so i use 'pip install mujoco==2.3.5',i may did something wrong during the installation,so maybe i can solve this problem with rebuilding the environment ?
By the way,i'm a chinese ,so i'm using a cloud server without a global internet,it may cause some trouble during installation,i had to pip every single one of your environment.yml one by one.
When i use my laptop ,i installed more properly,but same issue appear ,metaworld installation is after the main envs installation and two issues before.
my situations now is metaworld‘s task can't be done through eval.py ,what is the metaworld's version you are using ? i will try to install this env again to see the outcoming ,appreciate your kindness one more time~.~
The installation guidelines involve cloning the _eaivc code repository. Have you tried installing metaworld from their _thirdparty dependencies? If not, try the following,
cd eai_vc
pip install -e ./third_party/metaworld
i didn't ,thanks ,i will try this out~。~
it looks like ok now ,just use 'export MUJOCO_GL=osmesa' to avoid issue 'mujoco.FatalError: gladLoadGL error'. thank you very very much!you just made my day.
Great, I'm thus closing this issue. Feel free to reopen if needed!
I tried to run 《Test on faucet-close-v2-goal-observable》 after 《Task embedding search on faucet-close-v2-goal-observable》,this issue showed : RS:> Registering Arms Envs RS:> Registering Biomechanics Envs RS:> Registering Hand Envs RS:> Registering Kitchen Envs Using CUDA. Traceback (most recent call last): File "/home/oem/anaconda3/envs/eai-vc/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/oem/anaconda3/envs/eai-vc/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/oem/data/fb/新项目/task_conditioned_adaptation-main/src/run/eval.py", line 168, in
e = env_constructor(
File "/home/oem/data/fb/新项目/task_conditioned_adaptation-main/src/gym/gym_wrapper.py", line 87, in env_constructor
e = FrozenEmbeddingWrapper(
File "/home/oem/data/fb/新项目/task_conditioned_adaptation-main/src/gym/gym_wrapper.py", line 249, in init
proprio = self.get_proprio()
File "/home/oem/data/fb/新项目/task_conditioned_adaptation-main/src/gym/gym_wrapper.py", line 248, in
self.get_proprio = lambda: get_proprioception(self.unwrapped, suite)
File "/home/oem/data/fb/新项目/task_conditioned_adaptation-main/src/gym/gym_wrapper.py", line 335, in get_proprioception
assert isinstance(env, gym.Env)
AssertionError
My metaworld==2.0.0