Code Monkey home page Code Monkey logo

Comments (5)

jithinodattu avatar jithinodattu commented on August 25, 2024 1

@xjwxjw sudo apt-get install realpath

from lab.

xjwxjw avatar xjwxjw commented on August 25, 2024 1

Adding the "export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libz.so" to ./bashrc file.It finally works.

from lab.

xjwxjw avatar xjwxjw commented on August 25, 2024

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.

xjwxjw avatar xjwxjw commented on August 25, 2024

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.

tkoeppe avatar tkoeppe commented on August 25, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.