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-cp311-cp311-manylinux_2_35_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.35+ x86-64

dmlab2d-1.0.0-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-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-cp311-cp311-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11 macOS 13.0+ ARM64

dmlab2d-1.0.0-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-cp311-cp311-macosx_12_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11 macOS 12.0+ ARM64

dmlab2d-1.0.0-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-cp310-cp310-manylinux_2_35_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.35+ x86-64

dmlab2d-1.0.0-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-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-cp310-cp310-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.10 macOS 13.0+ ARM64

dmlab2d-1.0.0-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-cp310-cp310-macosx_12_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.10 macOS 12.0+ ARM64

dmlab2d-1.0.0-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-cp39-cp39-manylinux_2_35_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.35+ x86-64

dmlab2d-1.0.0-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-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-cp39-cp39-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.9 macOS 13.0+ ARM64

dmlab2d-1.0.0-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-cp39-cp39-macosx_12_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.9 macOS 12.0+ ARM64

dmlab2d-1.0.0-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-cp38-cp38-manylinux_2_35_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.35+ x86-64

dmlab2d-1.0.0-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-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-cp38-cp38-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.8 macOS 13.0+ ARM64

dmlab2d-1.0.0-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-cp38-cp38-macosx_12_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.8 macOS 12.0+ ARM64

dmlab2d-1.0.0-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-cp311-cp311-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 19ddb786df02d62005443ce1c15bca7245b0bac3ece1503b72442d90cacb97cc
MD5 40adfc9b65980ccb4bd4a397cd40a4b1
BLAKE2b-256 bd60bcb999cbf8711e1474956b968a369741e5cae7c8e4c908662af0c8754447

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2dcc7f3e0da662b5a05ba02b29d340d0d7cab4804d9e00a124444f4d8968ac36
MD5 856bcc8972b5db313f2d252ba67aa5f5
BLAKE2b-256 72062847a06f5d4486a19eefbb2e7e36bd2094fe211f0955daf8844b86012db0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4092c485770937e375d3ba81d51f55d34361da0a3da1e56473c6f1898f2f3e96
MD5 36120c70b994d595cd1e9ad6fdc87d96
BLAKE2b-256 2c81476a68b90d16798461ac1b31476432ac7f741a4977e12dc45cd1591598ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 72a668fa35d64b50a7e190d71a9e3fe8b1218c46cf6e57505fcd33345b340922
MD5 774df134446485a9e019a9fe85cb63b5
BLAKE2b-256 bce93c15f9e547aebcaa7ed50d8cf669c65ef6f48f002f8161953c58ed6f0f42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 81460e82f3b4bae61833a71d90deb5a772a68ad285a458d7dfb2fd07723e101d
MD5 cd991861e13f1ff00f99f6b5273b8dd7
BLAKE2b-256 0d09b8def632c0d9f46796d389ddb1399c9413d53c8b30728f56b0210998bad9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 f1d3f2c34e3ce16c73f90cefd9e16c3452bf3d2311906d555d095946ccfbb972
MD5 59a81d20592132cf21414c0be75cd7a1
BLAKE2b-256 3df1a5896af46522f607d1b2a0bc4e31d24a6a2dd3fcd88a3c20437e68fc1118

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 e01a702a3c8a80f3fe6486b51d4e1077dd94722803d7e9216437bb76448f1635
MD5 fe47b3fe841b63e4015aaf9898385100
BLAKE2b-256 d1b9652f64b7ec23b5f7637206758367f01a45ec1c214224ed8e138f3b921237

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0-cp310-cp310-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 af477eaa8992da6132558e0c055942a06cdf422f491363c4d60043eaa7f99f9e
MD5 f4a2435f024b7eff423d2bec65ec30fb
BLAKE2b-256 357b7a656d65c47fab2eea8d2cfc7afd4f73db64fef4fe3f1cef89b49a87531a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d5c88d3c4264343759ebd2c1c61588abec2fbcf29b4d1a7441e46d0ebc44012b
MD5 c18bbce016f3e29317a2cf73cbb3f886
BLAKE2b-256 483659ec4eaabd72b1acc59075133ef0fdd2f6ac7d33d6ec463ef51003d5c8db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 430c8d0ad08aa5a036397c12c9a0746f2004b9a3b6eb3bc56b03d8f0fea2cb94
MD5 0cabba76fd7240bf6665cec8afe19892
BLAKE2b-256 08c2c775ccacd1e210b5504b0cdfffd4c8fd83ce7cdbb35666393c426acf3ff9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dd26c511ed7abf79201341cc8dfad7738eea219f00ab3827302f396122aa93ca
MD5 e5f6f9292968eab1acfb6c1c1c72952e
BLAKE2b-256 d8bd2c9b6744ff37af8ae934f818eb1ed7a2b948acd5115a3d05801babb1f844

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 0f1adbb8ccf787bdbca19925e8848796cdd91d36b23d2387ea8674c3da6bb05e
MD5 14847a3cbb03018fcacdf9ba616baafc
BLAKE2b-256 1a3f836bc782a2c06bc3e77f6c3361c6c826218494c0e0b1d6966dc48c32d8c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp310-cp310-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 cb8a970e8b28b16ed9af22255f9cc8f8e6707face70212b53b0ef4be2a9787a9
MD5 fe92f10a32d452107bc8351b16b1cab3
BLAKE2b-256 5fe13bb57f037dd471d6c3b706a38e36b763cc3ae973a2975bb23949bf200522

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 52ee289f8dd9d0c21901d57c15926002f48d0d81554bf91f7cd15b70419adb8b
MD5 cc5b228c3a859b9e79eaa739f7258c2b
BLAKE2b-256 f2f821705ca1fe65d034888b664b9beea5e4ee939f4fbca6791e9725f51703b5

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0-cp39-cp39-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 f46572c8fcbe092a979939cd9b9b8b0b6e07bf00d1daeba6997dd20459acf10a
MD5 e8009e1d65db45e337725920a4d917ef
BLAKE2b-256 010bbe1d36a037110c838b5c44daa3b8faaa6ddca83959efe268543fa0d70461

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp39-cp39-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1f233ffeb2a58dbf28d84dad16288b84dd82634fe8ed1cb0d30485741aa889ec
MD5 fe799e218dcce05ec1786f07e16e6531
BLAKE2b-256 82b0e2f48b4655d5c88843f5878f3dccabfcb6086e408bee5f84cbabe067c579

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ff8785761367c29640a8ecc3e084591299e111e34eb77aac3b3bf443c05375d7
MD5 3e7f77f5d50e06bf217c844d9e59ec44
BLAKE2b-256 e18a037cc2f4232e3b22cff2e19102c1ab343291c652cb2ad982fe9a1443154b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp39-cp39-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b22c626b3f492a1a7446d8d8c678b234aa95b2c606b7c0c126917df0b3aa8ec7
MD5 338412af99d5715ee1ad97e9c12f0a05
BLAKE2b-256 ebc7ae2bf575c4fafa0e06f33545c6016a8b1a28dc9c1df5952615ad70bdf425

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 1785eab3fb26192b2764d527919b93154d25dd898fd74e28eff915c696099414
MD5 9ed86c0f471aee53096bd67e2600ab14
BLAKE2b-256 918754a9e2239af4a5ea052b2718ac13690fd80e0652439cefb47b53d8a332d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 843980252b46fd004a8cd67655f3e1fb252c28e5133270c7f68a1870bb9bbc06
MD5 364752b7062c83294f518935f51c5448
BLAKE2b-256 5052cd0fe31bfdb577b540cf96a605ee5e6c264f51fb4b44f30bae5663c1d7f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 3557b626b707ae88f90534e8111c16904dff9fc89321db1fdf61bac71926b409
MD5 12277723d4a7614a74ddda4dad3b8b8a
BLAKE2b-256 39427e38c44090d296403d6777c03fb2edac6dfb418701e0f7e12abb83a781fb

See more details on using hashes here.

File details

Details for the file dmlab2d-1.0.0-cp38-cp38-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp38-cp38-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 aea353801c6e3f0fad0f0e65ac285d47146567a271b448560d099245cdd06ae2
MD5 6a28e9d2fccd783b549571eafc87787d
BLAKE2b-256 f7a23c56529ad2263baf2eea456a3753729139aaf80f7ebdcc4fed4a0efb163d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp38-cp38-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0889fa4efb126ce9972bdbe74a498757f11fabfff011472597e210191a41799a
MD5 f8ea2911b959fdc3e37e9f04ef907c5e
BLAKE2b-256 92af65cf781c7935f4164609b7729a5b2994ab9c72d83f0c7c4544d765137fc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp38-cp38-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 01d7aee197fb72d3f8cc37714aa35120d13aa55023b65d31ef66fd243b65b476
MD5 4d344405f75a937a43d79607fcc7d29d
BLAKE2b-256 bf23cd24f3592c1d643866f66d79b6eff17ad10344b2d2cd8acdb264c02819af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp38-cp38-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6ada6aa969f29d1f2d65e1963321e23394f3bb2c484e72c0c5303531ab4c1044
MD5 1898ea9c0cebf6c1295939c9e55513f5
BLAKE2b-256 a4338c0645684838400eb03c53d4167b4d7da0d0c14cd37f211fcdf523ce7d6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp38-cp38-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 b7a67bcc3d74f9e1931fc99f9297b1dc4079672afb65062eca32579fd6080c90
MD5 f449e82b6fb0058eac8f6172952ad99a
BLAKE2b-256 17efa9555654b478ef62f832f53b763c9fbeed709f99f2a540afb4b6cfbacde7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp38-cp38-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 d42b46260e961cb027ecd6bf3adafb454ac86fbb8afb119d28a484cc7ee4b99c
MD5 c1b4dc2e9a4a9fddc97571109275a828
BLAKE2b-256 61ebf67ef7d14e79cbe834378791f648731adb1bc34071d44ce399c43836090c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dmlab2d-1.0.0-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 6fccaf92700dfdaa6d3a70a584269468e1ccfd823bd7bffeeec98eb3437b3d76
MD5 7e74b5e30671c8b9378444bba8db5b52
BLAKE2b-256 a19be5a47aa90bc3a5dcf0bc73c7bf60bc035a6c41f551622d6c0f7b58a45ce3

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