forked from ybgdgh/L3MVN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
32 lines (25 loc) · 809 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# create habitat env
source opt/conda/etc/profile.d/conda.sh
conda create -n habitat python=3.10 cmake=3.14.0 -y
conda activate habitat
# install pytorch
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
# setup habitat-sim
git clone --depth 1 --branch v0.2.5 https://github.com/facebookresearch/habitat-sim.git
cd habitat-sim
pip install -r requirements.txt
python setup.py install --headless
cd ..
# Install habitat-lab
git clone --depth 1 --branch v0.2.5 https://github.com/facebookresearch/habitat-lab.git
cd habitat-lab
pip install -e habitat-lab
pip install -e habitat-baselines
cd ..
pip install -r requirements.txt
# install wandb
pip install wandb
export GLOG_minloglecel=2
export MAGNUM_LOG="quiet"
export HABITAT_SIM_LOG="quite"
export HF_HOME=/huggingface