Skip to content

Commit

Permalink
Merge pull request #537 from StanfordVL/ig-develop
Browse files Browse the repository at this point in the history
Merge ig-develop to master
  • Loading branch information
ChengshuLi authored Nov 10, 2021
2 parents 6800954 + 71a2744 commit 8e98406
Show file tree
Hide file tree
Showing 149 changed files with 4,779 additions and 2,468 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Tests

on: [pull_request, push]

jobs:
test:
runs-on: [linux, gpu, dataset-enabled]

steps:
- name: Checkout source
uses: actions/checkout@v2
with:
submodules: true

- name: Add CUDA to env
run: echo "/usr/local/cuda/bin" >> $GITHUB_PATH

- name: Setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
architecture: x64

- name: Install dev requirements
run: pip install -r requirements-dev.txt

- name: Install
run: pip install -e .

- name: Link Dataset
run: ln -s /scr/ig-data igibson/data

- name: Run tests
run: pytest

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2.1.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,6 @@ igibson/utils/data_utils/mesh_decimation/final_videos

# libcryptopp
igibson/render/mesh_renderer/libcryptopp.so.8.6

# Coverage
.coverage
89 changes: 0 additions & 89 deletions Jenkinsfile

This file was deleted.

26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ iGibson is a simulation environment providing fast visual rendering and physics
If you use iGibson or its assets and models, consider citing the following publication:

```
@misc{shen2021igibson,
title={iGibson 1.0: a Simulation Environment for Interactive Tasks in Large Realistic Scenes},
author={Bokui Shen and Fei Xia and Chengshu Li and Roberto Martín-Martín and Linxi Fan and Guanzhi Wang and Claudia Pérez-D'Arpino and Shyamal Buch and Sanjana Srivastava and Lyne P. Tchapmi and Micael E. Tchapmi and Kent Vainio and Josiah Wong and Li Fei-Fei and Silvio Savarese},
@misc{li2021igibson,
title={iGibson 2.0: Object-Centric Simulation for Robot Learning of Everyday Household Tasks},
author={Chengshu Li and Fei Xia and Roberto Mart\'in-Mart\'in and Michael Lingelbach and Sanjana Srivastava and Bokui Shen and Kent Vainio and Cem Gokmen and Gokul Dharan and Tanish Jain and Andrey Kurenkov and Karen Liu and Hyowon Gweon and Jiajun Wu and Li Fei-Fei and Silvio Savarese},
year={2021},
eprint={2012.02924},
eprint={2108.03272},
archivePrefix={arXiv},
primaryClass={cs.AI}
primaryClass={cs.RO}
}
```

```
@misc{li2021igibson,
title={iGibson 2.0: Object-Centric Simulation for Robot Learning of Everyday Household Tasks},
author={Chengshu Li and Fei Xia and Roberto Martín-Martín and Michael Lingelbach and Sanjana Srivastava and Bokui Shen and Kent Vainio and Cem Gokmen and Gokul Dharan and Tanish Jain and Andrey Kurenkov and Karen Liu and Hyowon Gweon and Jiajun Wu and Li Fei-Fei and Silvio Savarese},
@inproceedings{shen2021igibson,
title={iGibson 1.0: a Simulation Environment for Interactive Tasks in Large Realistic Scenes},
author={Bokui Shen and Fei Xia and Chengshu Li and Roberto Mart\'in-Mart\'in and Linxi Fan and Guanzhi Wang and Claudia P\'erez-D'Arpino and Shyamal Buch and Sanjana Srivastava and Lyne P. Tchapmi and Micael E. Tchapmi and Kent Vainio and Josiah Wong and Li Fei-Fei and Silvio Savarese},
booktitle={2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
year={2021},
eprint={2108.03272},
archivePrefix={arXiv},
primaryClass={cs.RO}
pages={accepted},
organization={IEEE}
}
```

Expand All @@ -57,9 +57,9 @@ If you want to know more about iGibson, you can also check out [our webpage](htt

For instructions to install iGibson and download dataset, you can visit [installation guide](http://svl.stanford.edu/igibson/docs/installation.html) and [dataset download guide](http://svl.stanford.edu/igibson/docs/dataset.html).

There are other datasets we link to iGibson. We include support to use CubiCasa5K and 3DFront scenes, adding up more than 8000 extra interactive scenes to use in iGibson! Check our documentation on how to use those.
There are other datasets we link to iGibson. We include support to use CubiCasa5K and 3DFront scenes, adding up more than 10000 extra interactive scenes to use in iGibson! Check our [documentation](https://github.com/StanfordVL/iGibson/tree/master/igibson/utils/data_utils/ext_scene) on how to use those.

We also maintain compatibility with datasets of 3D reconstructed large real-world scenes (homes and offices) that you can download and use with iGibson, for example from our previous simulator, Gibson. All of them will be accessible once you fill in this <a href="https://forms.gle/36TW9uVpjrE1Mkf9A" target="_blank">[form]</a>.
We also maintain compatibility with datasets of 3D reconstructed large real-world scenes (homes and offices) that you can download and use with iGibson. For Gibson Dataset and Stanford 2D-3D-Semantics Dataset, please fill out this [form](https://forms.gle/36TW9uVpjrE1Mkf9A). For Matterport3D Dataset, please fill in this [form](http://dovahkiin.stanford.edu/matterport/public/MP_TOS.pdf) and send it to [matterport3d@googlegroups.com](mailto:matterport3d@googlegroups.com). Please put "use with iGibson simulator" in your email. Check our [dataset download guide](http://svl.stanford.edu/igibson/docs/dataset.html) for more details.

### Using iGibson with VR
If you want to use iGibson VR interface, please visit the [VR guide (TBA)].
Expand Down
27 changes: 15 additions & 12 deletions docker/behavior/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM nvidia/cudagl:11.1.1-devel-ubuntu20.04
FROM nvidia/cudagl:11.1.1-base-ubuntu20.04

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y --no-install-recommends \
cmake \
curl \
g++ \
git \
make \
vim \
wget \
curl \
python3-dev \
python3-opencv \
python3-pip && \
cuda-command-line-tools-11-1 && \
rm -rf /var/lib/apt/lists/*

RUN curl -LO http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
Expand All @@ -22,17 +22,20 @@ RUN conda create -y -n igibson python=3.8.0

ENV PATH /miniconda/envs/igibson/bin:$PATH

RUN pip install torch pytest ray[default,rllib] stable-baselines3
RUN pip install --no-cache-dir torch pytest ray[default,rllib] stable-baselines3 && rm -rf /root/.cache

RUN git clone --depth 1 https://github.com/StanfordVL/iGibson /opt/iGibson --recursive && \
rm -rf /opt/iGibson/igibson/render/openvr/samples

RUN git clone --branch ig-develop https://github.com/StanfordVL/iGibson /opt/iGibson --recursive
WORKDIR /opt/iGibson
RUN pip install -e .

RUN git clone --branch master https://github.com/StanfordVL/BDDL /opt/BDDL --recursive
RUN pip install --no-cache-dir -e .

RUN git clone --depth 1 --branch master https://github.com/StanfordVL/BDDL /opt/BDDL --recursive
WORKDIR /opt/BDDL
RUN pip install -e .
RUN pip install --no-cache-dir -e .

RUN python3 -m igibson.utils.assets_utils --download_assets
RUN python3 -m igibson.utils.assets_utils --download_demo_data
RUN python3 -m igibson.utils.assets_utils --download_assets && rm -rf /tmp/*
RUN python3 -m igibson.utils.assets_utils --download_demo_data && rm -rf /tmp/*

WORKDIR /opt/iGibson/igibson
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"sphinx_markdown_tables",
"sphinx.ext.autodoc",
"sphinx.ext.mathjax",
"myst_parser",
]

html_theme = "sphinx_rtd_theme"
Expand Down
Loading

0 comments on commit 8e98406

Please sign in to comment.