diff --git a/Dockerfile b/Dockerfile index b632086d2833aba308717c1561a16728d42ef192..21fbd85b159cd984cd77f73c07c5132704d859f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,17 +35,6 @@ RUN apt install --no-install-recommends \ WORKDIR "/monodepth" COPY . ./ -# Setup BoostingMonocularDepth -#RUN git submodule update --init #replaced this line with below -RUN if [ -d "BoostingMonocularDepth" ]; then echo "Submodule exists"; else echo "Submodule not found" && exit 1; fi -RUN cd ./BoostingMonocularDepth/pix2pix/ && mkdir -p checkpoints/mergemodel -# Midas weights -#RUN wget https://github.com/isl-org/MiDaS/releases/download/v2_1/model-f6b98070.pt -O ./BoostingMonocularDepth/midas/model.pt -# Merge net weights -#RUN wget -P ./BoostingMonocularDepth/pix2pix/checkpoints/mergemodel https://www.sfu.ca/~yagiz/CVPR21/latest_net_G.pth - -RUN cp ./weights/midas/model.pt ./BoostingMonocularDepth/midas/model.pt && cp ./weights/pix2pix/checkpoints/mergemodel/latest_net_G.pth ./BoostingMonocularDepth/pix2pix/checkpoints/mergemodel/latest_net_G.pth - RUN pip3 install -r ./code/python/requirements.txt #-- build python cpp module