Skip to main content

Real Environment Developed by Stanford University

Project description

BuildOnUbuntuLatest BuildManylinux20102014 Gibson

The source code is available on this Github repository.

This package is generated starting from GibsonEnv project. You can find the original source code here or you can visit the official website .

Summary: Perception and being active (i.e. having a certain level of motion freedom) are closely tied. Learning active perception and sensorimotor control in the physical world is cumbersome as existing algorithms are too slow to efficiently learn in real-time and robots are fragile and costly. This has given a fruitful rise to learning in the simulation which consequently casts a question on transferring to real-world. We developed Gibson environment with the following primary characteristics:

I. being from the real-world and reflecting its semantic complexity through virtualizing real spaces, II. having a baked-in mechanism for transferring to real-world (Goggles function), and III. embodiment of the agent and making it subject to constraints of space and physics via integrating a physics engine Bulletphysics.

Naming: Gibson environment is named after James J. Gibson, the author of “Ecological Approach to Visual Perception”, 1979. “We must perceive in order to move, but we must also move in order to perceive” – JJ Gibson

Paper

Gibson Env: Real-World Perception for Embodied Agents, in CVPR 2018 [Spotlight Oral].

Installation

CUDA Toolkit is necessary to run gibson!

Installing precompiled version from pip

Gibson can be simply installed from pip. The pip version of Gibson is precompiled only for linux machines. If you use another SO, you have to recompile Gibson from source.

sudo apt install libopenmpi-dev
pip install gibson

Building from source

If you don’t want to use the precompiled version, you can also install gibson locally. This will require some dependencies to be installed.

First, make sure you have Nvidia driver and CUDA installed. If you install from source, CUDA 9 is not necessary, as that is for nvidia-docker 2.0. Then, clone this repository recursively to download the submodules and install the following dependencies:

git clone https://github.com/micheleantonazzi/GibsonEnv.git --recursive
apt-get update
apt-get install doxygen libglew-dev xorg-dev libglu1-mesa-dev libboost-dev \
  mesa-common-dev freeglut3-dev libopenmpi-dev cmake golang libjpeg-turbo8-dev wmctrl \
  xdotool libzmq3-dev zlib1g-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev \
  libportmidi-dev libfreetype6-dev

Finally install the package using pip (during this process, Gibson is automatically compiled):

pip install -e .

Install required deep learning libraries: Using python3 is recommended. You can create a python3 environment first.

Download Gibson assets

After the installation of Gibson, you have to set up the assets data (agent models, environments, etc). The folder that stores the necessary data to run Gibson environment must be set by the user. To do this, simply run this command gibson-set-assets-path in a terminal and then follow the printed instructions. This script asks you to insert the path where to save the Gibson assets. Inside this folder, you have to copy the environment core assets data (~= 300MB) and the environments dataset (~= 10GB). The environment data must be located inside a sub-directory called dataset. You can add more environments by adding them inside the dataset folder located in the previously set path. Users can download and copy manually these data inside the correct path or they can use dedicated python utilities. To easily download Gibson assets, typing in a terminal:

gibson-set-assets-path # This command allows you to set the default Gibson assets folder
gibson-download-assets-core
gibson-download-dataset

Project details


Download files

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

Source Distribution

gibson-1.0.0.tar.gz (9.7 MB view details)

Uploaded Source

Built Distributions

gibson-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

gibson-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

gibson-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

gibson-1.0.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (19.8 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

gibson-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.0 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

gibson-1.0.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (19.8 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

gibson-1.0.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.0 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

gibson-1.0.0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (19.8 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

gibson-1.0.0-cp27-cp27mu-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.0 MB view details)

Uploaded CPython 2.7mu manylinux: glibc 2.17+ x86-64

gibson-1.0.0-cp27-cp27mu-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (19.8 MB view details)

Uploaded CPython 2.7mu manylinux: glibc 2.12+ x86-64

File details

Details for the file gibson-1.0.0.tar.gz.

File metadata

  • Download URL: gibson-1.0.0.tar.gz
  • Upload date:
  • Size: 9.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.10

File hashes

Hashes for gibson-1.0.0.tar.gz
Algorithm Hash digest
SHA256 85bb79a2e2d933a5161ac9c8fd5e6bf904590a1affc6bb94206cdede4eaa4b6f
MD5 a9cfe29ba61e49812ed16081f2e49e20
BLAKE2b-256 5c03ca2fbae967f09152acc9fe21c21bb75716419639dd073229a6c3d1a4332e

See more details on using hashes here.

File details

Details for the file gibson-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gibson-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3898211713d1f250880c38aa929f34573be7f490dcd50b381d926868fa52456b
MD5 538bd6e97b62044847d426b943cff029
BLAKE2b-256 14e0d0ba625c2d79f28385dc8d6a4202d580b1acbf67f4469594382fadc2f693

See more details on using hashes here.

File details

Details for the file gibson-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gibson-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cf05900ad1918277863ad2c5b791f99d07cf4c508010f0162c14bf666f6e80b6
MD5 7026f37fa13b457c644f97303b94dcb1
BLAKE2b-256 f25312ed53880139181744e175393513830c47b82adbb6b1d52968f45c70cabf

See more details on using hashes here.

File details

Details for the file gibson-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gibson-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 251059dba6a2f38b8186264b4ec94daa7d4ce4e1618f117793309f2ac94cbd24
MD5 275c1421255a780a5a71a4c4d0b8b68a
BLAKE2b-256 d7991e06cf6036180712998ac6ea437993994dc0a290165b9ca0ef6a9bfd06ce

See more details on using hashes here.

File details

Details for the file gibson-1.0.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for gibson-1.0.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d96492dd9dcbabe3f45169e972e090adf965b8030f59b4d48665555f9789582e
MD5 f310e277f36fbda4d484e1537ce472d5
BLAKE2b-256 379ad71a37fca3228f02a610896523c5fdb6788258546e2b84aceb44bebf8215

See more details on using hashes here.

File details

Details for the file gibson-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gibson-1.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 51b9dc8a2b9e47246df72fe0cdf4656d45abdc7d1e5bcbc6d0404199f1b4161a
MD5 b535304cad0316675091cd150aec39d1
BLAKE2b-256 85363b5370e6be2461dfc03e7f364b8125689920bef45025b95b5aeab2350ab8

See more details on using hashes here.

File details

Details for the file gibson-1.0.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for gibson-1.0.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f2744f3e4b5b47810a460a4b8b52f1db32702a78827276c5f1f4900234bab4a6
MD5 276bc176dc9cade379dd3bf2895b6e27
BLAKE2b-256 e565930cdd1c72df0f57b8e78cfb9ca192f35f70376d95d2e77149e242bf4cf5

See more details on using hashes here.

File details

Details for the file gibson-1.0.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

  • Download URL: gibson-1.0.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 20.0 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/3.7.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.13

File hashes

Hashes for gibson-1.0.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b5ff653190522ceec05a30628af17c6903bdc42d8e616df87a789332608889a
MD5 92e88f6c8eedd86d96b10c3048a2c2ec
BLAKE2b-256 9c5355c0fdfb4e9bf29ca2c49ba9c2a8adcdcfe346e5ebc4d0cdc2105a9c20d8

See more details on using hashes here.

File details

Details for the file gibson-1.0.0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

  • Download URL: gibson-1.0.0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
  • Upload date:
  • Size: 19.8 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/3.7.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.13

File hashes

Hashes for gibson-1.0.0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b1f92566e275e9617e1b5adf18e22ac2de0ede7268061cb8a71b45ddcb3eb3e7
MD5 9a39102bb3e6a4fb50635155ae1fc58d
BLAKE2b-256 b7d9f426068c715fec5b7d705c80008b901917ba81569c2ea6a2c4d92c641a14

See more details on using hashes here.

File details

Details for the file gibson-1.0.0-cp27-cp27mu-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gibson-1.0.0-cp27-cp27mu-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0af2cc0774757f642fa286106e688879ac07eb73869dfea2201189694181a819
MD5 2b48917a8c6dde859e5762a55415bdb4
BLAKE2b-256 b1e2dd6eaf0718f53dba023287f8ff385c5e6eb42f650b4f552b15191639b1b3

See more details on using hashes here.

File details

Details for the file gibson-1.0.0-cp27-cp27mu-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for gibson-1.0.0-cp27-cp27mu-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6195bca3ef1b010514ae94bb50604f32b685b46243e035ba7a81b9930885d08f
MD5 f452bcc35bed94e1055afd27b02e4b8f
BLAKE2b-256 b1e66277dc89b7e6faa3a673ad0d2b017f441f3f73a1adb753ad05122e1d0d6f

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