Skip to content

Commit

Permalink
Fix numpy<2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
georghess committed Jul 3, 2024
1 parent b7a0826 commit 96de2e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ RUN CUDA_VER=${CUDA_VERSION%.*} && CUDA_VER=${CUDA_VER//./} && python3.10 -m pip
--extra-index-url https://download.pytorch.org/whl/cu${CUDA_VER}
# Install tynyCUDNN (we need to set the target architectures as environment variable first).
ENV TCNN_CUDA_ARCHITECTURES=${CUDA_ARCHITECTURES}
RUN python3.10 -m pip install --no-cache-dir git+https://github.com/NVlabs/tiny-cuda-nn.git@v1.6#subdirectory=bindings/torch
RUN python3.10 -m pip install --no-cache-dir git+https://github.com/NVlabs/tiny-cuda-nn.git#subdirectory=bindings/torch

# Install pycolmap, required by hloc.
RUN git clone --branch v0.4.0 --recursive https://github.com/colmap/pycolmap.git && \
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers = [
"Programming Language :: Python",
]
dependencies = [
"numpy<2.0",
"appdirs>=1.4",
"av>=9.2.0",
"awscli>=1.31.10",
Expand All @@ -34,7 +35,7 @@ dependencies = [
"msgpack_numpy>=0.4.8",
"nerfacc==0.5.2",
"open3d>=0.16.0",
"opencv-python==4.8.0.76",
"opencv-python==4.10.0.84",
"Pillow>=10.3.0",
"plotly>=5.7.0",
"protobuf<=3.20.3,!=3.20.0",
Expand Down

0 comments on commit 96de2e2

Please sign in to comment.