Skip to content

Commit 6e2baa5

Browse files
committed
Fixed habitat-sim build
1 parent 3c6ae4a commit 6e2baa5

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ COPY requirements.txt .
5959
RUN python3 -m pip install gdown torch torchvision torchaudio meson
6060
RUN python3 -m pip install -r requirements.txt
6161
RUN python3 -m pip install --upgrade timm>=1.0.7
62+
RUN CMAKE_ARGS="-DCMAKE_POLICY_VERSION_MINIMUM=3.5" python3 -m pip install git+https://github.com/facebookresearch/[email protected]
6263
# #
6364
# #
6465
RUN git clone https://github.com/WongKinYiu/yolov7

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ cd OneMap/
8989
python3 -m pip install gdown torch torchvision torchaudio meson
9090
python3 -m pip install -r requirements.txt
9191
```
92+
NOTE: Fix to build habitat-sim:
93+
```
94+
CMAKE_ARGS="-DCMAKE_POLICY_VERSION_MINIMUM=3.5" python3 -m pip install git+https://github.com/facebookresearch/[email protected]
95+
```
9296
Manually install newer `timm` version:
9397
```
9498
python3 -m pip install --upgrade timm>=1.0.7

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ salesforce-lavis
44
rerun-sdk
55
#timm>=1.0.7
66
git+https://github.com/facebookresearch/detectron2.git
7-
git+https://github.com/facebookresearch/[email protected]
7+
#git+https://github.com/facebookresearch/[email protected]
88
inference-gpu[yolo-world]
99
supervision
1010
spock-config

0 commit comments

Comments
 (0)