StanfordVL/GibsonEnv
Gibson Environments: Real-World Perception for Embodied Agents
What is Gibson Env?
Gibson Env is a physics‑based 3‑D simulation platform for training embodied agents—robots, drones, or virtual creatures—that need to perceive and move in realistic indoor spaces. The key idea is to virtualize real‑world buildings (over 500 scanned spaces) so that agents can learn perception‑action loops in a safe, fast, and cheap setting, then transfer those skills to real robots.
Core features (as described in the README)
| Feature | What it means |
|---|---|
| Real‑world geometry | Environments are reconstructed from real scans (Stanford 2D‑3D‑S, Matterport3D). The visual and semantic complexity mirrors the real world. |
| Goggles | A built‑in “domain‑randomisation” pipeline that adds realistic sensor noise and rendering effects to help bridge the gap between simulation and physical robots. |
| Physics integration | Uses the Bullet physics engine so agents obey realistic dynamics, collisions, and constraints. |
| Multiple agents | Provides a library of robot models (Husky, TurtleBot, Minitaur, Quadrotor, Ant, Humanoid, etc.) with optional high‑level controllers. |
| Rich observations | RGB, depth, surface normals, and pixel‑wise semantic masks can be streamed from the simulator. |
| ROS support | Example ROS wrappers let you take a policy trained in Gibson and run it on a real robot with minimal changes. |
| Web UI | A lightweight web interface lets you monitor or control the simulation remotely, useful for headless cloud machines. |
| Performance | Benchmarks show >100 FPS for low‑resolution RGB‑D, and scalable multi‑process rendering for training many agents in parallel. |
Typical workflow
- Install – either pull the pre‑built Docker image (recommended) or build from source on Ubuntu with an NVIDIA GPU.
- Download assets – core assets are ~few GB; the full database (572 spaces) is optional.
- Run a demo – e.g.,
python examples/demo/play_husky_camera.pylets you drive a car with WASD keys while seeing live RGB‑D streams. - Train – use the provided RL scripts (PPO1/2) to train agents like a Husky robot navigating a hallway, or an Ant climbing stairs, directly from visual input.
- Transfer – apply the Goggles rendering or export the learned policy to ROS for deployment on a physical robot.
Who might use it?
- Robotics researchers building perception‑action pipelines.
- Reinforcement‑learning scientists needing high‑fidelity visual environments.
- Computer‑vision teams interested in semantic scene understanding in a controllable setting.
- Educators who want a realistic sandbox for teaching embodied AI.
Getting started quickly
# Pull the Docker image (includes CUDA, Bullet, etc.)
docker pull xf1280/gibson:0.3.1
# Run the container, mounting your downloaded dataset
docker run --runtime=nvidia -ti --rm \
-e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix \
-v /path/to/dataset:/root/mount/gibson/gibson/assets/dataset \
xf1280/gibson:0.3.1
# Inside the container, launch a demo
python examples/demo/play_husky_camera.py
Citation
If you use Gibson Env in a publication, cite the CVPR‑2018 paper:
@inproceedings{gibson2018,
title={Gibson Env: Real‑World Perception for Embodied Agents},
author={Savva, M. and et al.},
booktitle={CVPR},
year={2018}
}
Bottom line: Gibson Env is a genuine, research‑grade simulator for embodied AI, offering realistic indoor scenes, physics, and visual sensors to train and test perception‑driven agents before moving them to the real world.
Related
- Project
- Project
- Project
- Project