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.3.tar.gz (9.8 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gibson-1.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

gibson-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

gibson-1.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.8 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

gibson-1.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.8 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

gibson-1.0.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.8 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

File details

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

File metadata

  • Download URL: gibson-1.0.3.tar.gz
  • Upload date:
  • Size: 9.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 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.3.tar.gz
Algorithm Hash digest
SHA256 8a75e95f449078825aa76efd21199e2594b326dcaa285a28ff604ce66a757318
MD5 1562cfa8fa6a8acf090e7366868f9483
BLAKE2b-256 4bbc5c689e9718e3aa920d94c15bf1578605130ee4f6854655d43a3a1709f8f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gibson-1.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 20.8 MB
  • Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.11.2 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.3 tqdm/4.67.1 importlib-metadata/8.5.0 keyring/25.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.0b1

File hashes

Hashes for gibson-1.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ef88c14b0fd63508c4b7280730d0be7d454ba85683458d36991961618605ed4d
MD5 62790141e4d03cde378210f1dbc06a48
BLAKE2b-256 0216aae880d3a2084578652d0a91db767df8f497ca5db3f23dc558eda2ee5b22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gibson-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 20.8 MB
  • Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.11.2 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.3 tqdm/4.67.1 importlib-metadata/8.5.0 keyring/25.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.5

File hashes

Hashes for gibson-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd6bba38653743498e33dc58e5b895a53c88842f234b8368f1523d6fb6f73212
MD5 de43825a91ada71577f6e8a91d77e592
BLAKE2b-256 630555289d7be657eaf24074d169d97224258a8657f8b3036ed26c6ae6303d39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gibson-1.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 20.8 MB
  • Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.11.2 readme-renderer/43.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.3 tqdm/4.67.1 importlib-metadata/8.5.0 keyring/25.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.8.10

File hashes

Hashes for gibson-1.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 691050bd00e2699fedc22a4581bbf58246d73af7f7e7e75da38f6bbff2f0340b
MD5 1ebb48f3ca8cd466d2638a2a1773ec32
BLAKE2b-256 ae0a9069e2468ca511883ca4c247d4cf4eb02c63b584a81b62610b121f0d335b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gibson-1.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 20.8 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.7 tqdm/4.67.1 importlib-metadata/6.7.0 keyring/24.1.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.7.10

File hashes

Hashes for gibson-1.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 accb43ba0d04eac18f4ba71ad59afbf972ffdcfa352158f5f1630ede86fa70bc
MD5 4710726f153eafbb58294365e8058b7e
BLAKE2b-256 4e9bef73a1b9766d271c681f0b3c5906e7176bcf5ad8dad546ac5e3dfda3f030

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gibson-1.0.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 20.8 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 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.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 712c75bf8cb58d23a3950b6fbb823afbed629f60a1393a60929cf2542d36fe8a
MD5 49dadb6ec171e443e859d58da37c2b6c
BLAKE2b-256 c0c1e7783466b7c3ffe7a5d7e735d88b816bc01f333ac950e7163ec0064e5b5b

See more details on using hashes here.

Supported by

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