Skip to main content

No project description provided

Project description

DeepMind Lab2D

A learning environment written in C++ and Lua for the creation of grid worlds.

DeepMind Lab2D screenshot

About

DeepMind Lab2D is a system for the creation of 2D environments for machine learning. The main goals of the system are ease of use and performance: The environments are "grid worlds", which are defined with a combination of simple text-based maps for the layout of the world, and Lua code for its behaviour. Machine learning agents interact with these environments through one of two APIs, the Python dm_env API or a custom C API (which is also used by DeepMind Lab). Multiple agents are supported.

If you use DeepMind Lab2D in your research and would like to cite it, we suggest you cite the accompanying whitepaper.

Getting started

We provide an example "random" agent in python/random_agent, which performs random actions. This can be used as a base for creating your own agents, and as a simple tool to preview an environment.

bazel run -c opt dmlab2d/random_agent -- --level_name=clean_up

External dependencies, prerequisites and porting notes

DeepMind Lab2D currently ships as source code only. It depends on a few external software libraries, which we ship in several different ways:

  • The dm_env, eigen, luajit, lua5.1, lua5.2, luajit, png and zlib libraries are referenced as external Bazel sources, and Bazel BUILD files are provided. The dependent code itself should be fairly portable, but the BUILD rules we ship are specific to Linux on x86. To build on a different platform you will most likely have to edit those BUILD files.

  • A "generic reinforcement learning API" is included in //third_party/rl_api.

  • Several additional libraries are required but are not shipped in any form; they must be present on your system:

    • Python 3.6 or above with NumPy, PyGame, and packaging.

The build rules are using a few compiler settings that are specific to GCC/Clang. If some flags are not recognized by your compiler (typically those would be specific warning suppressions), you may have to edit those flags.

Disclaimer

This is not an official Google product.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

dmlab2d-1.0.0_dev.10-cp311-cp311-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.31+ x86-64

dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11 macOS 13.0+ x86-64

dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11 macOS 13.0+ ARM64

dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_12_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11 macOS 12.0+ x86-64

dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_12_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11 macOS 12.0+ ARM64

dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_11_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11 macOS 11.0+ x86-64

dmlab2d-1.0.0_dev.10-cp310-cp310-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.31+ x86-64

dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10 macOS 13.0+ x86-64

dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.10 macOS 13.0+ ARM64

dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_12_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10 macOS 12.0+ x86-64

dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_12_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.10 macOS 12.0+ ARM64

dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_11_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

dmlab2d-1.0.0_dev.10-cp39-cp39-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.31+ x86-64

dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9 macOS 13.0+ x86-64

dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.9 macOS 13.0+ ARM64

dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_12_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9 macOS 12.0+ x86-64

dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_12_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.9 macOS 12.0+ ARM64

dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_11_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

dmlab2d-1.0.0_dev.10-cp38-cp38-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.31+ x86-64

dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8 macOS 13.0+ x86-64

dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.8 macOS 13.0+ ARM64

dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_12_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8 macOS 12.0+ x86-64

dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_12_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.8 macOS 12.0+ ARM64

dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_11_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8 macOS 11.0+ x86-64

File details

Details for the file dmlab2d-1.0.0_dev.10-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b82a0b4cc4cec6e8a4699303e2f2cf8da52fa19daa4da904ab9fa7f9b27963dc
MD5 40613858dfe78620c68992e24f7f2008
BLAKE2b-256 caaf6682a6931051c81d9c00854e87aea6f7628d54e4be3185bdd3a8de1148ce

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 275b2f6490f3308f6193d6876077f3baf3f95f839e8dd170732697342a226b6d
MD5 a3f403dbd217e9969d4585d838cb981a
BLAKE2b-256 7853e1b6e45ee1f848ca1a45b7b15020710e6b88c90e148d152d2fc005b5e46b

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 5b7064cb43e73920c02569593cb9ae03d6464d47e2f5c4d4daeb9ae18f9a1730
MD5 9e8abcde4dd790bf4749448ffb630648
BLAKE2b-256 296cfccb63958c6c945e8198f35ce7aa4cbac49ee882f08735af01227f5099ea

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 7dd5e81e175b05d7b79cf5d767961e1451e682ebdebf45801526a2fdef1f6988
MD5 ac01596be48f5b95d4bc456ef6c31e33
BLAKE2b-256 d1e1aa87ae4353383f8508b894e105c2f74245851d98930886e4bb04b7a6324e

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 835fc283821e147522c9e78d2b6ff63863a2294d8e46ff8b50a20b8135b70650
MD5 bd9f4c9abb918df666e6ff21afc65824
BLAKE2b-256 c536261d95f719aa5df392fe5b587d4e26d162d71ab9ebc1d0140a45201f4a10

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 82ba491bbea17add206635629ec1b7688591073578ee8632b6c06bd3fcfb7e2e
MD5 576b04e524c64de2a221066037bed3f2
BLAKE2b-256 ea96f1d8f772929a4744ddd82e9a4b0c6289ef61eb98bc83c5fc0a24d2fb3bc1

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp310-cp310-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f322718f26b6605d8f2dbaf8270b6cf4ee14a85ba114a71e3817131e84f37506
MD5 57852f1d5ae5cd052a429e1fce3bc724
BLAKE2b-256 4b31884879224de4627b5d45b307cec8f4cd1e60db9aa61871e4aa2518c6584b

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 51588dcbab44947401a0f39de402a6d3247c4ef74ad99b93cf1ffd06d0baba42
MD5 a47191fad3c7d51f268dad67fb923595
BLAKE2b-256 17d9e52db3386dec271ffa428048d747b24e1653bb8e16a413d6e923c0148fb6

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cf70ad9abadb39cd98431d7f151d13f23708bd84dcefda60a3d4b3d4d780efd2
MD5 fbe0e852bc5b1063c17d1b84c8231aa8
BLAKE2b-256 c3ab0e55cd3c4307ae7db0059035f96f5f3d0476d07cc9a3f146f9110f7596d8

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 ec6439e4d011689f84baf10b2e07be1aabc248efea5b85d026f982c84ee47c8b
MD5 fb33ba7d557b7c7c751d7fa1de88be28
BLAKE2b-256 c5705ea62fb4654ad7e67652ef531912bcb41ce26b031f883acb0e8d5b159f6c

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 ad10d1f44d0a3f50798f32a5a522f6b3b0c5219bd6a36f30232edce0e7878174
MD5 4e9e18b39b82cdcb153161156d9f1664
BLAKE2b-256 ff49ef9803f8e4c70b9303f707cb52ccd2de5ebbb083f7c896dfd0117975451a

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7712abb39fd4d5ff09315ef9ec2d265201625456e648c6cac1747d322f5da092
MD5 e19be6edf8f393ae44d14f90384c789f
BLAKE2b-256 2550a2d7dca0aec856715668e8e45abfdbe0731501df20ef59c73ac7dbca0960

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp39-cp39-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp39-cp39-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 055fb85fb2b898e86a768ce95da99f900c77bb7d9ce9b52401967ca9a3d13ba9
MD5 7c43c5d3267cc27d6f17ef40c978d528
BLAKE2b-256 f4a7c07fa08945c95e6c101e27ae71c83ece236fe28087edb73faa077e51fdae

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6628443638d76cda7ad937e03846ef62af1b899ba0191a7c41cea14f48cca697
MD5 4a3c70c69bacec537df9f97b2964ce11
BLAKE2b-256 d92034e5f1f95cf0356d96a1f391395b49997444229bf273a1cee2f2329cd669

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e2358ea34cd80cdeb5f35af337a004d9cf32569b2b2edd6eb6bb251fca109b3f
MD5 294457b9fbbfd0f919fea421130ce883
BLAKE2b-256 31f4e5d950db0b1026f48519b7da1471652c2474f95c103c4e4c5d1959e6c20e

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 b1baec87b997c5692d7ca04429173b6d6428d56b333809aeeb45da04c45d025e
MD5 453a55a4ec19baee6eb6bc7d3b80b488
BLAKE2b-256 cfa51883dbf9caa88427a8845a90be5f4b8e2aeaa07b1005a80cacc67202bf70

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 5f752127c8b55042ad4a9f93bf9b745fddf76b6a2a656de1a329bfd8220c4915
MD5 bd3b5281fdb1d3d1ea98661a0a720ead
BLAKE2b-256 cb48d22cb6dff85a3e702985a1978b4a76a52e9a034f86a9ff1e646039f52ebd

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 b86e1b71da2178068f2713988c1b56703e9820407d390f53e0fb79e2375e0b19
MD5 3340a7191f8308886d6dde53669cc879
BLAKE2b-256 adb4beb6b6c10cefbe5e4bbf75a9c0c4fab4a6ad17cce60693b009001ae0e9c7

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp38-cp38-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp38-cp38-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 01c38c736b3eb124127a6f7f0c0ee34b9933aa3e8dddb0206f4902d136750215
MD5 08abf4be81cf80acf1b32d8ec03102bd
BLAKE2b-256 66c756e0ca22ec59ebe7ae3424f177be1f8cb830a5355f35674bc467593977e6

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2710b6f12ec8b2bb5077a8fc331ceef4fbf54cab8f0539b3c9dce95e3cdf275e
MD5 fab1c701e2a7e0370903838546f01223
BLAKE2b-256 09e649d42bcd02c6149b237d7d1a0962e1f2de431a066414096fb265cd9fef2a

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4964b0cc494356229384b92eda56a717ea7ceceffc1e1dc08992a2f4ed91026e
MD5 f92e39cfd70825ad1fee1fc7582a25dd
BLAKE2b-256 4936904f6b6095a5004586e9bf730a823dcb9a7f7ec4abf25dc9dd1b730025a6

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 a984243e56033d2b6176a1c539f5acb6af0be1cb245798aaefd95ca2869c92d3
MD5 b4d963b7aef4ac4f433e7acc90d39e1c
BLAKE2b-256 e3406eefe5bdc3c0f857895de8830f891b8d1cfb018ca1572f311525483674cf

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 e38bf5cef72b855f0802b9d0ae81938942f877838c3d542e960e5ff43fa40b4c
MD5 68f29474cd2fbaabeac3a0d7200dac48
BLAKE2b-256 7779d307f871049cfda3d86885e1ae6761653ff9d10af183fcce2ae092ba8a63

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0_dev.10-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 424d61f7ec38f702cfbaa822a66bc77ecbefa6cc0ff0684f5e2e5a46123c56d5
MD5 3d6670ee23ce574c265e3b2a1e5067ce
BLAKE2b-256 af90902db2a2ebfca6bece57d7949eecf8597fa762268d86407ae6e07a24d33f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page