-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #429 from fxia22/ig-develop
upgrade master branch to ig-develop (official igibson 2.0 release)
- Loading branch information
Showing
382 changed files
with
35,804 additions
and
7,878 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Lint | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: psf/black@stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Run isort | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
- uses: jamescurtin/isort-action@master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: stable # Replace by any tag/version: https://github.com/psf/black/tags | ||
hooks: | ||
- id: black | ||
language_version: python3 # Should be a command that runs python3.6+ | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.8.0 | ||
hooks: | ||
- id: isort | ||
name: isort (python) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
FROM nvidia/cudagl:11.1.1-devel-ubuntu20.04 | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
cmake \ | ||
git \ | ||
vim \ | ||
wget \ | ||
curl \ | ||
python3-dev \ | ||
python3-opencv \ | ||
python3-pip && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN curl -LO http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh | ||
RUN bash Miniconda-latest-Linux-x86_64.sh -p /miniconda -b | ||
RUN rm Miniconda-latest-Linux-x86_64.sh | ||
ENV PATH=/miniconda/bin:${PATH} | ||
RUN conda update -y conda | ||
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 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 | ||
WORKDIR /opt/BDDL | ||
RUN pip install -e . | ||
|
||
RUN python3 -m igibson.utils.assets_utils --download_assets | ||
RUN python3 -m igibson.utils.assets_utils --download_demo_data | ||
|
||
WORKDIR /opt/iGibson/igibson |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
IMAGE=igibson/behavior_challenge_2021 | ||
|
||
docker build -t $IMAGE . \ | ||
&& echo BUILD SUCCESSFUL | ||
|
||
# podman build -t $IMAGE . \ | ||
# && echo BUILD SUCCESSFUL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
IMAGE=igibson/behavior_challenge_2021 | ||
|
||
# For docker | ||
docker run --gpus all -ti --rm $IMAGE:latest | ||
|
||
# Or if your cluster uses podman | ||
# podman run --rm -it --net=host \ | ||
# --security-opt=no-new-privileges \ | ||
# --security-opt label=type:nvidia_container_t \ | ||
# -e DISPLAY \ | ||
# $IMAGE:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM nvidia/cudagl:11.1.1-devel-ubuntu20.04 | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
cmake \ | ||
git \ | ||
wget \ | ||
curl \ | ||
python3-dev \ | ||
python3-opencv \ | ||
python3-pip && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN curl -LO http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh | ||
RUN bash Miniconda-latest-Linux-x86_64.sh -p /miniconda -b | ||
RUN rm Miniconda-latest-Linux-x86_64.sh | ||
ENV PATH=/miniconda/bin:${PATH} | ||
RUN conda update -y conda | ||
RUN conda create -y -n igibson python=3.8.0 | ||
|
||
ENV PATH /miniconda/envs/igibson/bin:$PATH | ||
|
||
RUN pip install --no-cache-dir https://github.com/StanfordVL/bullet3/archive/master.zip | ||
RUN pip install torch pytest ray[default,rllib] stable-baselines3 | ||
|
||
RUN git clone --branch master https://github.com/StanfordVL/iGibson /opt/igibson --recursive | ||
WORKDIR /opt/igibson | ||
RUN pip install -e . | ||
|
||
RUN python3 -m igibson.utils.assets_utils --download_assets | ||
RUN python3 -m igibson.utils.assets_utils --download_demo_data | ||
|
||
WORKDIR /opt/igibson/igibson/examples/demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
IMAGE=igibson/igibson | ||
|
||
docker build -t $IMAGE:v2.0.0 . \ | ||
&& docker tag $IMAGE:v2.0.0 $IMAGE:latest \ | ||
&& echo BUILD SUCCESSFUL | ||
|
||
# podman build -t $IMAGE:v2.0.0 . \ | ||
# && podman tag $IMAGE:v2.0.0 $IMAGE:latest \ | ||
# && echo BUILD SUCCESSFUL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
# For docker | ||
docker run --gpus all -ti --rm igibson/igibson:latest | ||
|
||
# Or if your cluster uses podman | ||
# podman run --rm -it --net=host \ | ||
# --security-opt=no-new-privileges \ | ||
# --security-opt label=type:nvidia_container_t \ | ||
# -e DISPLAY \ | ||
# igibson/igibson:latest |
Oops, something went wrong.