SW777SW commited on
Commit
2ff2810
·
verified ·
1 Parent(s): 572c4ed

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -44,12 +44,19 @@ RUN cd InstantSplat && \
44
  cd submodules/dust3r/croco/models/curope/ && \
45
  python setup.py build_ext --inplace
46
 
 
 
 
 
 
 
 
47
  RUN useradd -m -u 1000 user
48
  USER user
49
  ENV PATH="/home/user/.local/bin:$PATH"
50
 
51
- RUN chmod +x run_train_infer.sh
52
  COPY --chown=user run_train_infer.sh InstantSplat/run_train_infer.sh
 
53
 
54
  # Set the working directory
55
  WORKDIR InstantSplat/
 
44
  cd submodules/dust3r/croco/models/curope/ && \
45
  python setup.py build_ext --inplace
46
 
47
+ # Clone the InstantSplat repository and download the pre-trained model
48
+ RUN cd InstantSplat && \
49
+ cd submodules/dust3r/ && \
50
+ mkdir -p checkpoints/ && \
51
+ wget https://download.europe.naverlabs.com/ComputerVision/DUSt3R/DUSt3R_ViTLarge_BaseDecoder_512_dpt.pth -P checkpoints/ && \
52
+ cd ../../
53
+
54
  RUN useradd -m -u 1000 user
55
  USER user
56
  ENV PATH="/home/user/.local/bin:$PATH"
57
 
 
58
  COPY --chown=user run_train_infer.sh InstantSplat/run_train_infer.sh
59
+ RUN chmod +x InstantSplat/run_train_infer.sh
60
 
61
  # Set the working directory
62
  WORKDIR InstantSplat/