4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-10 18:17:31 +08:00

Upgrade pip and install additional dependencies

Updated pip installation commands to include 'packaging' and fixed formatting issues.
This commit is contained in:
basebala 2026-07-08 16:38:06 -07:00 committed by GitHub
parent 32be3d3244
commit 5e863070ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,7 +81,7 @@ RUN git clone https://github.com/colmap/colmap.git && \
# Upgrade pip and install dependencies.
# pip install torch==2.2.2 torchvision==0.17.2 --index-url https://download.pytorch.org/whl/cu118 && \
RUN pip install --no-cache-dir --upgrade pip 'setuptools<70.0.0' 'wheel' && \
RUN pip install --no-cache-dir --upgrade pip 'setuptools<70.0.0' 'wheel' 'packaging' && \
pip install --no-cache-dir torch==2.1.2+cu118 torchvision==0.16.2+cu118 'numpy<2.0.0' --extra-index-url https://download.pytorch.org/whl/cu118 && \
git clone --branch master --recursive https://github.com/cvg/Hierarchical-Localization.git /opt/hloc && \
cd /opt/hloc && git checkout v1.4 && python3.10 -m pip install --no-cache-dir . && cd ~ && \