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 hashes)

Uploaded Source

Built Distributions

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

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 hashes)

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 hashes)

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 hashes)

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 hashes)

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 hashes)

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 hashes)

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 hashes)

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 hashes)

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 hashes)

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

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