Comments (5)
@xjwxjw sudo apt-get install realpath
from lab.
Adding the "export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libz.so" to ./bashrc file.It finally works.
from lab.
yeah, thanks.It works.
But then I try to build it like this:"bazel run :random_agent --define headless=false". It fails, and get the following output:
INFO: Running command line: bazel-bin/random_agent '--length=10000' '--width=640' '--height=480'
Failed to open library! - ./libdmlab.so
./libdmlab.so: undefined symbol: crc32
Traceback (most recent call last):
File "/home/xu-jinwgei/.cache/bazel/_bazel_xu-jinwgei/7f9c394f362e8089472ee6d14cb49bf2/execroot/lab-master/bazel-out/local-fastbuild/bin/random_agent.runfiles/org_deepmind_lab/python/random_agent.py", line 188, in
run(args.length, args.width, args.height, args.fps, args.level_script)
File "/home/xu-jinwgei/.cache/bazel/_bazel_xu-jinwgei/7f9c394f362e8089472ee6d14cb49bf2/execroot/lab-master/bazel-out/local-fastbuild/bin/random_agent.runfiles/org_deepmind_lab/python/random_agent.py", line 146, in run
'height': str(height)
RuntimeError: Failed to connect RL API
ERROR: Non-zero return code '1' from command: Process exited with status 1.
Do you have any idea with it?Much Thanks!
from lab.
I try the command :"bazel run :random_agent --define headless=false -- --length=10000 --width=640 --height=480". It is the same output as "bazel run :random_agent --define headless=false".
from lab.
@xjwxjw: Thanks for investigating, and @jithinoc for the pull request. You shouldn't have to preload libz, since we compile it from source and link it statically. If there is a loading error, could you try adding the "undefined symbols" to dmlab.lds
first? (For an easy hack, just replace the "visible" section in dmlab.lds
by *'
and see if that resolves it, and then narrow it down to the symbols that are actually used.)
from lab.
Related Issues (20)
- RuntimeError: Failed to connect RL API
- Reset() environment to a specific state? HOT 2
- Failed to find function dmlab_connect in library! RuntimeError: Failed to connect RL API
- Adding "I-maze" map/environment HOT 5
- Access camera params (extrinsics, intrinsics, near/far plane) for pointcloud calculation HOT 1
- How to produce deterministic episode? HOT 1
- custom environment
- Bazel Build Error: no such target '@platforms//cpu:wasm32': target 'wasm32' not declared in package 'cpu' HOT 3
- Disable Velocity HOT 1
- Problem with Bazel Python3 build HOT 2
- Wheel not supported error HOT 6
- Change the speed of the agent dynamically
- Build fails with message about C++14 being required even with a C++14-capable compiler HOT 2
- Complete installation script for Ubuntu 20.04 HOT 8
- Banino et. al. Grid Cells explore_goal_locations and explore_obstructed_goals HOT 1
- MacOS installation issues HOT 5
- When I run bazel run :python_random_agent --define graphics=sdl -- \ --length=10000 --width=640 --height=480 in Ubuntu 20.04, I meet the following error. HOT 2
- C++ version problem? HOT 1
- Did you know your value of Pi is wrong? HOT 1
- some Error no issue mentioned HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lab.