google-deepmind / lab

A customisable 3D platform for agent-based AI research

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError: Failed to connect RL API

Jingjinganhao opened this issue · comments

hello, I am learning the project , when I run python episodic-curiosity/scripts/launcher_script.py --workdir=/tmp/ec_workdir --method=ppo_plus_ec --scenario=sparseplusdoors
it shows:
RuntimeError: Failed to connect RL API
In call to configurable 'DMLabWrapper' ()
Failed to find function dmlab_connect in library!
How to fix it?

I'm afraid I'm not familiar with that project. Could you please look at their documentation on how they expect DeepMind Lab to be set up?

Did you build or install DeepMind Lab in any way? Are you using Bazel to run that project's code?

hello, I am learning the project , when I run python episodic-curiosity/scripts/launcher_script.py --workdir=/tmp/ec_workdir --method=ppo_plus_ec --scenario=sparseplusdoors it shows: RuntimeError: Failed to connect RL API In call to configurable 'DMLabWrapper' () Failed to find function dmlab_connect in library! How to fix it?

Hi, I'm also learning this project ,However, I am having various problems installing DeepMind-Lab. Could you please tell me what configuration environment you are using.My environment: Anaconda3 under the virtual environment PY3.6 And the version information in setup.py

hello, I am learning the project , when I run python episodic-curiosity/scripts/launcher_script.py --workdir=/tmp/ec_workdir --method=ppo_plus_ec --scenario=sparseplusdoors it shows: RuntimeError: Failed to connect RL API In call to configurable 'DMLabWrapper' () Failed to find function dmlab_connect in library! How to fix it?

Hello, have you solved this problem?I have the same problem. RuntimeError: Failed to connect RL API and subprocess.CalledProcessError: Command '['python', '-m', 'episodic_curiosity.train_policy', '--workdir=/tmp/ec_workdir/ppo/sparse/run_number_1', '--num_env=12', '--env_name=dmlab:explore_goal_locations_large', '--num_timesteps=20000000', '--gin_bindings', 'CuriosityEnvWrapper.exploration_reward="oracle"', '--gin_bindings', 'CuriosityEnvWrapper.scale_task_reward=1.0', '--gin_bindings', 'CuriosityEnvWrapper.scale_surrogate_reward=0.0', '--gin_bindings', 'train.ent_coef=0.0010941138105771857', '--gin_bindings', 'train.learning_rate=0.00019306977288832496']' returned non-zero exit status 1.

I'm afraid I'm not familiar with that project. Could you please look at their documentation on how they expect DeepMind Lab to be set up?

Did you build or install DeepMind Lab in any way? Are you using Bazel to run that project's code?

hi,I follow the steps in https://github.com/deepmind/lab/blob/master/docs/users/build.md
This command runs without problem bazel run :python_random_agent --define graphics=sdl --
--length=10000 --width=640 --height=480
bazel build -c opt //:deepmind_lab.so and bazel test -c opt //python/tests:python_module_test No problem
But RuntimeError: Failed to connect RL API appears when I run bazel run -c opt //:python_random_agent
2021-10-21 09-51-11屏幕截图