New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build to simple gym-like interface #127
Comments
DeepMind Lab is predominantly a library that you integrate into your own project. We use Bazel as the build system, but there are several ways you can use the code from elsewhere:
|
@tkoeppe thanks for the answer. I'm also trying to build some kind of gym-like API to a deepmind lab env. The pip package tutorial & dmlab_module.c in python are well-documented, so thanks for that as well. A few comments on the gym-like env and pip package:
|
So I built and run pip - tank you very much. I found pip installation page via google though and I'm not sure how could anyone know where to find pip installation instructions? I think readme should improve answering that question, cause I guess that's the main thing people coming here are looking for? Regarding above question, I found answer on python API readme:
I have one more question: what kind of events could be returned with events() method? For anyone breaking their head on how to start environments via python:
|
@mtrazzi: Regarding the macos branch: Will this work generally and for everyone? I haven't looked at the PIP build script, so if you can/have, that would be very helpful. I think we would integrate those changes into the "floating commit", such as ccfe8a6. It's a bit of a pain for users to have the "macos" branch be this constant rebasing; I'm thinking of turning the branch into a checked in |
@mtrazzi: I'm not super familiar with the Python API, but have a look at |
@tkoeppe The @tkoeppe I'm not sure how to contribute to this "floating commit". I tried to git checkout to the commit and make a pull request but it doesn't seem to belong to any branch. Here is the pip bash script that works on macos. |
@mtrazzi: I think you can just make a pull request against the "macos" branch? What I mean by "floating" is that I'll eventually rebase that branch, so that commit will "float up" to to the top (and get a new commit hash). |
So, I think that the macos branch already contains the necessary modifications, right? I think that settles everything? Please feel free to reopen if you have new information. Note also that I recently added a Python wrapper module for our new |
Walking through the examples, I haven't understood how can I build the code, and after build have an easy, gym-like environment I could instantiate / reset / step / etc? Everything that I managed was building and starting stuff directly through bazel, similar to python_random_agent, but I don't see how to call step/reset outside of bazel. Am I missing something or there is no description of how to build+run such an environment?
The text was updated successfully, but these errors were encountered: