update version and README

This commit is contained in:
fxia22 2018-08-11 15:20:29 -07:00
parent 0ca4ef8380
commit 264f8009fe
3 changed files with 9 additions and 8 deletions

View File

@ -88,10 +88,10 @@ You can either 1. build your own docker image or 2. pull from our docker image.
git clone https://github.com/StanfordVL/GibsonEnv.git git clone https://github.com/StanfordVL/GibsonEnv.git
cd GibsonEnv/gibson cd GibsonEnv/gibson
wget https://storage.googleapis.com/gibsonassets/assets_core_v2.tar.gz wget https://storage.googleapis.com/gibsonassets/assets_core_v2.tar.gz
tar -zxf assets_core_v2.tar.gz tar -zxf assets_core_v2.tar.gz && rm assets_core_v2.tar.gz
cd assets cd assets
wget https://storage.googleapis.com/gibsonassets/dataset.tar.gz wget https://storage.googleapis.com/gibsonassets/dataset.tar.gz
tar -zxf dataset.tar.gz tar -zxf dataset.tar.gz && rm dataset.tar.gz
### the commands above downloads assets data file and decpmpress it into gibson/assets folder ### the commands above downloads assets data file and decpmpress it into gibson/assets folder
cd ../.. # back to GibsonEnv dir cd ../.. # back to GibsonEnv dir
docker build . -t gibson ### finish building inside docker docker build . -t gibson ### finish building inside docker
@ -102,13 +102,13 @@ dataset files in docker image to keep our image slim, so you will need to mount
2. Or pull from our docker image 2. Or pull from our docker image
```bash ```bash
docker pull xf1280/gibson:0.2 docker pull xf1280/gibson:0.3.1
``` ```
#### Notes on deployment on a headless server #### Notes on deployment on a headless server
We have another docker file that supports deployment on a headless server and remote access with TurboVNC+virtualGL. We have another docker file that supports deployment on a headless server and remote access with TurboVNC+virtualGL.
You can build your own docker image with the docker file `Dockerfile_server`. You can build your own docker image with the docker file `Dockerfile_server`.
Instructions to run gibson on a headless server: Instructions to run gibson on a headless server (requires X server running):
1. Install nvidia-docker2 dependencies following the starter guide. 1. Install nvidia-docker2 dependencies following the starter guide.
2. Use `openssl req -new -x509 -days 365 -nodes -out self.pem -keyout self.pem` create `self.pem` file 2. Use `openssl req -new -x509 -days 365 -nodes -out self.pem -keyout self.pem` create `self.pem` file
@ -118,6 +118,8 @@ in docker terminal, start `/opt/websockify/run 5901 --web=/opt/noVNC --wrap-mode
5. Run gibson with `DISPLAY=:1 vglrun python <gibson example or training>` 5. Run gibson with `DISPLAY=:1 vglrun python <gibson example or training>`
6. Visit your `host:5901` and type in one time password to see the GUI. 6. Visit your `host:5901` and type in one time password to see the GUI.
If you don't have X server running, you can still run gibson, see [this guide](https://github.com/StanfordVL/GibsonEnv/wiki/Running-GibsonEnv-on-headless-server) for more details.
B. Building from source B. Building from source
----- -----
@ -211,8 +213,7 @@ By running this command you will start training an ant to navigate in Gates buil
Web User Interface Web User Interface
---- ----
When running Gibson, you can start a web user interface with `python gibson/utils/web_ui.py`. This is helpful when you cannot physically access the machine running gibson or you are running on a headless cloud environment. When running Gibson, you can start a web user interface with `python gibson/utils/web_ui.py python gibson/utils/web_ui.py 5552`. This is helpful when you cannot physically access the machine running gibson or you are running on a headless cloud environment.
<img src=misc/web_ui.png width="600"> <img src=misc/web_ui.png width="600">

View File

@ -23,7 +23,7 @@ random:
output: [nonviz_sensor, rgb_filled, depth, normal, semantics] output: [nonviz_sensor, rgb_filled, depth, normal, semantics]
#output: [nonviz_sensor] #output: [nonviz_sensor]
resolution: 64 resolution: 256
speed: speed:
timestep: 0.01 timestep: 0.01

View File

@ -15,7 +15,7 @@ class PostInstallCommand(install):
''' '''
setup(name='gibson', setup(name='gibson',
version='0.3.0', version='0.3.1',
description='Real Environment Developed by Stanford University', description='Real Environment Developed by Stanford University',
url='https://github.com/fxia22/realenv', url='https://github.com/fxia22/realenv',
author='Stanford University', author='Stanford University',