Skip to content

Instantly share code, notes, and snippets.

@twni2016
Last active August 9, 2021 17:10
Show Gist options
  • Select an option

  • Save twni2016/761c88d4341765db0a0aa90423db59c9 to your computer and use it in GitHub Desktop.

Select an option

Save twni2016/761c88d4341765db0a0aa90423db59c9 to your computer and use it in GitHub Desktop.
ManipulaTHOR installation

Installation

1. AllenAct and AI2THOR

git clone https://github.com/allenai/allenact
  • AllenAct: this commit from PR that fixed a minor bug should work.
  • AI2THOR: v3.3.1, v3.3.4 and this PR commit, all of them should work.

2. Create Conda Env

conda create -n <env_name>
conda activate <env_name>
conda install python==3.6.12

3. Pip Install

I try to install packages via pip as many as possible.

pip install -r thor_requirements.txt # see below

Summary

  • After installation, the env yaml is saved to thor_env.yml
  • Don't forget to clean packages: conda clean -a and pip cache purge

Download Dataset

name: env_name
channels:
- defaults
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=4.5=1_gnu
- ca-certificates=2021.5.25=h06a4308_1
- ld_impl_linux-64=2.35.1=h7274673_9
- libffi=3.3=he6710b0_2
- libgcc-ng=9.3.0=h5101ec6_17
- libgomp=9.3.0=h5101ec6_17
- libstdcxx-ng=9.3.0=hd4cf53a_17
- ncurses=6.2=he6710b0_1
- openssl=1.1.1k=h27cfd23_0
- pip=21.1.2=py36h06a4308_0
- python=3.6.12=hcff3b4d_2
- readline=8.1=h27cfd23_0
- setuptools=52.0.0=py36h06a4308_0
- sqlite=3.35.4=hdfb4753_0
- tk=8.6.10=hbc83047_0
- wheel=0.36.2=pyhd3eb1b0_0
- xz=5.2.5=h7b6447c_0
- zlib=1.2.11=h7b6447c_3
- pip:
- absl-py==0.12.0
- ai2thor==3.3.1
- appdirs==1.4.4
- appnope==0.1.2
- argon2-cffi==20.1.0
- astunparse==1.6.3
- async-generator==1.10
- attrs==20.3.0
- aws-requests-auth==0.4.3
- backcall==0.2.0
- black==19.10b0
- bleach==3.3.0
- botocore==1.20.67
- cachetools==4.2.2
- certifi==2020.12.5
- cffi==1.14.5
- chardet==4.0.0
- click==7.1.2
- cloudpickle==1.6.0
- cmake==3.18.4.post1
- colour==0.1.5
- cycler==0.10.0
- dataclasses==0.8
- decorator==4.4.2
- defusedxml==0.7.1
- entrypoints==0.3
- filelock==3.0.12
- flask==1.1.2
- flatbuffers==1.12
- future==0.18.2
- gast==0.3.3
- gin==0.1.6
- gin-config==0.4.0
- google-auth==1.30.0
- google-auth-oauthlib==0.4.4
- google-pasta==0.2.0
- grpcio==1.32.0
- gym==0.17.3
- h5py==2.10.0
- idna==2.10
- imageio==2.9.0
- imageio-ffmpeg==0.4.3
- importlib-metadata==4.0.1
- ipdb==0.13.9
- ipykernel==5.5.4
- ipython==7.16.1
- ipython-genutils==0.2.0
- ipywidgets==7.6.3
- itsdangerous==1.1.0
- jedi==0.17.0
- jinja2==2.11.3
- jmespath==0.10.0
- jsonschema==3.2.0
- jupyter==1.0.0
- jupyter-client==6.1.12
- jupyter-console==6.4.0
- jupyter-core==4.7.1
- jupyterlab-pygments==0.1.2
- jupyterlab-widgets==1.0.0
- keras-preprocessing==1.1.2
- kiwisolver==1.3.1
- llvmlite==0.36.0
- markdown==3.3.4
- markupsafe==1.1.1
- matplotlib==3.3.4
- mistune==0.8.4
- moviepy==1.0.3
- msgpack==1.0.2
- mypy==0.902
- mypy-extensions==0.4.3
- nbclient==0.5.3
- nbconvert==6.0.7
- nbformat==5.1.3
- nest-asyncio==1.5.1
- networkx==2.5.1
- notebook==6.3.0
- numba==0.53.1
- numpy==1.19.5
- numpy-quaternion==2021.4.5.14.42.35
- oauthlib==3.1.0
- opencv-python==4.4.0.46
- opt-einsum==3.3.0
- packaging==20.9
- pandocfilters==1.4.3
- parso==0.8.2
- pathspec==0.8.1
- pexpect==4.8.0
- pickleshare==0.7.5
- pillow==8.2.0
- proglog==0.1.9
- progressbar2==3.53.1
- prometheus-client==0.10.1
- prompt-toolkit==3.0.18
- protobuf==3.15.8
- ptyprocess==0.7.0
- pyasn1==0.4.8
- pyasn1-modules==0.2.8
- pycparser==2.20
- pyglet==1.5.0
- pygments==2.9.0
- pyparsing==2.4.7
- pyquaternion==0.9.9
- pyrsistent==0.17.3
- python-dateutil==2.8.1
- python-utils==2.5.6
- python-xlib==0.29
- pyyaml==5.4.1
- pyzmq==22.0.3
- qtconsole==5.1.0
- qtpy==1.9.0
- regex==2021.4.4
- requests==2.25.1
- requests-oauthlib==1.3.0
- rsa==4.7.2
- scipy==1.5.4
- send2trash==1.5.0
- setproctitle==1.2.2
- six==1.15.0
- tensorboard==2.5.0
- tensorboard-data-server==0.6.1
- tensorboard-plugin-wit==1.8.0
- tensorboardx==2.2
- termcolor==1.1.0
- terminado==0.9.4
- testpath==0.4.4
- toml==0.10.2
- torch==1.7.1+cu92
- torchaudio==0.8.1
- torchvision==0.8.2+cu92
- tornado==6.1
- tqdm==4.60.0
- traitlets==4.3.3
- typed-ast==1.4.3
- typing-extensions==3.7.4.3
- urllib3==1.26.4
- wcwidth==0.2.5
- webencodings==0.5.1
- werkzeug==1.0.1
- widgetsnbextension==3.5.1
- wrapt==1.12.1
- yacs==0.1.8
- zipp==3.4.1
prefix: <path/to/env_name>
absl-py==0.12.0
ai2thor==3.3.1
appdirs==1.4.4
appnope==0.1.2
argon2-cffi==20.1.0
astunparse==1.6.3
async-generator==1.10
attrs==20.3.0
aws-requests-auth==0.4.3
backcall==0.2.0
black==19.10b0
bleach==3.3.0
botocore==1.20.67
cachetools==4.2.2
certifi==2020.12.5
cffi==1.14.5
chardet==4.0.0
click==7.1.2
cloudpickle==1.6.0
cmake==3.18.4.post1
colour==0.1.5
cycler==0.10.0
dataclasses==0.8
decorator==4.4.2
defusedxml==0.7.1
entrypoints==0.3
filelock==3.0.12
Flask==1.1.2
flatbuffers==1.12
future==0.18.2
gast==0.3.3
gin==0.1.6
gin-config==0.4.0
google-auth==1.30.0
google-auth-oauthlib==0.4.4
google-pasta==0.2.0
grpcio==1.32.0
gym==0.17.3
h5py==2.10.0
idna==2.10
imageio==2.9.0
imageio-ffmpeg==0.4.3
importlib-metadata==4.0.1
ipdb==0.13.9
ipykernel==5.5.4
ipython==7.16.1
ipython-genutils==0.2.0
ipywidgets==7.6.3
itsdangerous==1.1.0
jedi==0.17.0
Jinja2==2.11.3
jmespath==0.10.0
jsonschema==3.2.0
jupyter==1.0.0
jupyter-client==6.1.12
jupyter-console==6.4.0
jupyter-core==4.7.1
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.0
Keras-Preprocessing==1.1.2
kiwisolver==1.3.1
llvmlite==0.36.0
Markdown==3.3.4
MarkupSafe==1.1.1
matplotlib==3.3.4
mistune==0.8.4
moviepy==1.0.3
msgpack==1.0.2
mypy==0.902
mypy-extensions==0.4.3
nbclient==0.5.3
nbconvert==6.0.7
nbformat==5.1.3
nest-asyncio==1.5.1
networkx==2.5.1
notebook==6.3.0
numba==0.53.1
numpy==1.19.5
numpy-quaternion==2021.4.5.14.42.35
oauthlib==3.1.0
opencv-python==4.4.0.46
opt-einsum==3.3.0
packaging==20.9
pandocfilters==1.4.3
parso==0.8.2
pathspec==0.8.1
pexpect==4.8.0
pickleshare==0.7.5
Pillow==8.2.0
proglog==0.1.9
progressbar2==3.53.1
prometheus-client==0.10.1
prompt-toolkit==3.0.18
protobuf==3.15.8
ptyprocess==0.7.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.20
pyglet==1.5.0
Pygments==2.9.0
pyparsing==2.4.7
pyquaternion==0.9.9
pyrsistent==0.17.3
python-dateutil==2.8.1
python-utils==2.5.6
python-xlib==0.29
PyYAML==5.4.1
pyzmq==22.0.3
qtconsole==5.1.0
QtPy==1.9.0
regex==2021.4.4
requests==2.25.1
requests-oauthlib==1.3.0
rsa==4.7.2
scipy==1.5.4
Send2Trash==1.5.0
setproctitle==1.2.2
six==1.15.0
tensorboard==2.5.0
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.0
tensorboardX==2.2
termcolor==1.1.0
terminado==0.9.4
testpath==0.4.4
toml==0.10.2
torch==1.7.1+cu92
torchaudio==0.8.1
torchvision==0.8.2+cu92
tornado==6.1
tqdm==4.60.0
traitlets==4.3.3
typed-ast==1.4.3
typing-extensions==3.7.4.3
urllib3==1.26.4
wcwidth==0.2.5
webencodings==0.5.1
Werkzeug==1.0.1
widgetsnbextension==3.5.1
wrapt==1.12.1
yacs==0.1.8
zipp==3.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment