Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -11,7 +11,8 @@ RUN git clone --recursive https://github.com/NVlabs/InstantSplat.git && \
|
|
| 11 |
git submodule update --init --recursive && \
|
| 12 |
cd submodules/dust3r/ && \
|
| 13 |
mkdir -p checkpoints/ && \
|
| 14 |
-
wget https://download.europe.naverlabs.com/ComputerVision/DUSt3R/DUSt3R_ViTLarge_BaseDecoder_512_dpt.pth -P checkpoints/
|
|
|
|
| 15 |
|
| 16 |
# Set up environment variables
|
| 17 |
ENV CUDA_HOME=/usr/local/cuda
|
|
@@ -34,6 +35,7 @@ ENV TORCH_CUDA_ARCH_LIST="7.0;7.5;8.0;8.6"
|
|
| 34 |
# sed -i '154s/p_view.z <= 0.2f/p_view.z <= 0.001f/' submodules/diff-gaussian-rasterization/cuda_rasterizer/auxiliary.h && \
|
| 35 |
# pip install submodules/diff-gaussian-rasterization
|
| 36 |
|
|
|
|
| 37 |
RUN pip install -r ./requirements.txt
|
| 38 |
|
| 39 |
RUN cd InstantSplat && \
|
|
|
|
| 11 |
git submodule update --init --recursive && \
|
| 12 |
cd submodules/dust3r/ && \
|
| 13 |
mkdir -p checkpoints/ && \
|
| 14 |
+
wget https://download.europe.naverlabs.com/ComputerVision/DUSt3R/DUSt3R_ViTLarge_BaseDecoder_512_dpt.pth -P checkpoints/ && \
|
| 15 |
+
cd ../../
|
| 16 |
|
| 17 |
# Set up environment variables
|
| 18 |
ENV CUDA_HOME=/usr/local/cuda
|
|
|
|
| 35 |
# sed -i '154s/p_view.z <= 0.2f/p_view.z <= 0.001f/' submodules/diff-gaussian-rasterization/cuda_rasterizer/auxiliary.h && \
|
| 36 |
# pip install submodules/diff-gaussian-rasterization
|
| 37 |
|
| 38 |
+
COPY --chown=user requirements.txt InstantSplat/requirements.txt
|
| 39 |
RUN pip install -r ./requirements.txt
|
| 40 |
|
| 41 |
RUN cd InstantSplat && \
|