You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for sharing your code. However, I have a lot of issues with installing eai-vc and I was unable to run the experiments. To help you read this GH Issue faster, I have divided it into two parts.
First, I will share the issues I had with the installation.
Second, I will present the problems that came up when running the experiments.
I apologize in advance if I missed something in either the mujoco or the hydra part of the code, since these are tools I have never utilized before.
Some additional info about my setup:
Ubuntu 22.04
CUDA 12.1
python 3.8.18
EAI-VC Installation Issues
To install eai-vc I followed the process described at installation.md to the letter (and have repeated the process a few times now to make sure I did not miss anything). Verifying my installation with the provided pytest, I get two major errors:
(1) dmc2gym version problem
AttributeError: 'MjModel' object has no attribute 'eq_active'
According to other relevant issues I found online (e.g., here), this can be solved either by downgrading mujoco to 2.3.* or upgrading dm_control from 1.0.5 to 1.0.16. Even though I tried both (without luck), let's consider for now that I follow the latter path, so that I don't mess with the other tasks, which might not like mujoco 2.3.*.
(2) mjrl, mj_envs incompatible with cython 3
Error compiling Cython file:
------------------------------------------------------------
...
See c_warning_callback, which is the C wrapper to the user defined function
'''
global py_warning_callback
global mju_user_warning
py_warning_callback = warn
mju_user_warning = c_warning_callback
^
------------------------------------------------------------
The problem shown in the picture below, can be solved by downgrading cython pip install "cython<3" as indicated by various sources (e.g., here)
Running the PyTest
With the changes above I get to successfully run the pytests, however, a few warnings remain. Fixing these can easily become a rabbit hole, where upgrading something breaks something else. At least, now the pytest runs.
EAI-VC Experiments Issues
After that, I try running the launch_all_jobs.sh, which is unsuccessful. To avoid pasting another long screenshot, here's the result from running just python hydra_launcher.py --config-name Metaworld_BC_config.yaml --multirun hydra/launcher=local \ wandb.project=metaworld_test wandb.entity=cortexbench \ env=hammer-v2-goal-observable \ seed=100 embedding=vc1_vitb, which leads to the same errors:
Question
Am I doing something wrong in the installation? Do I need to run the experiments in a different way?
Thanks in advance and I apologize for such a long detailed issue!
The text was updated successfully, but these errors were encountered:
Intro
Thank you very much for sharing your code. However, I have a lot of issues with installing eai-vc and I was unable to run the experiments. To help you read this GH Issue faster, I have divided it into two parts.
I apologize in advance if I missed something in either the mujoco or the hydra part of the code, since these are tools I have never utilized before.
Some additional info about my setup:
EAI-VC Installation Issues
To install eai-vc I followed the process described at installation.md to the letter (and have repeated the process a few times now to make sure I did not miss anything). Verifying my installation with the provided pytest, I get two major errors:
(1) dmc2gym version problem
AttributeError: 'MjModel' object has no attribute 'eq_active'
According to other relevant issues I found online (e.g., here), this can be solved either by downgrading mujoco to 2.3.* or upgrading dm_control from 1.0.5 to 1.0.16. Even though I tried both (without luck), let's consider for now that I follow the latter path, so that I don't mess with the other tasks, which might not like mujoco 2.3.*.
(2) mjrl, mj_envs incompatible with cython 3
The problem shown in the picture below, can be solved by downgrading cython
pip install "cython<3"
as indicated by various sources (e.g., here)Running the PyTest
With the changes above I get to successfully run the pytests, however, a few warnings remain. Fixing these can easily become a rabbit hole, where upgrading something breaks something else. At least, now the pytest runs.
EAI-VC Experiments Issues
After that, I try running the launch_all_jobs.sh, which is unsuccessful. To avoid pasting another long screenshot, here's the result from running just
python hydra_launcher.py --config-name Metaworld_BC_config.yaml --multirun hydra/launcher=local \ wandb.project=metaworld_test wandb.entity=cortexbench \ env=hammer-v2-goal-observable \ seed=100 embedding=vc1_vitb
, which leads to the same errors:Question
Am I doing something wrong in the installation? Do I need to run the experiments in a different way?
Thanks in advance and I apologize for such a long detailed issue!
The text was updated successfully, but these errors were encountered: