robfiras / ls-iq

Code of the paper "LS-IQ: Implicit Reward Regularization for Inverse Reinforcement Learning" & LocoMuJoCo Baselines
MIT License
42 stars 4 forks source link

ImportError #3

Open Alpslee opened 5 months ago

Alpslee commented 5 months ago

I run it on a ubuntu headless server, when try to : cd examples/02_episode_5/ python launcher.py got the error: ImportError: cannot import name 'bool_local_cluster' from 'experiment_launcher.utils' (/home/user/miniconda/lib/python3.9/site-packages/experiment_launcher/utils.py)

robfiras commented 5 months ago

it looks like you're running an old version of the experiment-launcher package. What version do you run exactly? Could you try to upgrade to the latest version by running pip install --upgrade experiment-launcher?

zxczyx622 commented 2 months ago

I meet the same error, and my experiment-launcher is 2.3. And i can`t find the function 'bool_local_cluster' in the utils.py.

robfiras commented 2 months ago

Thanks for bringing this up again! I guess the issue is actually the opposite, so you're running a too-new version of experiment_launcher. Could you try downgrading to 1.3?