@@ -53,24 +53,6 @@ RUN make "-j$(nproc)" && \
5353 ${MESHROOM_BUNDLE}/aliceVision/share/man/ \
5454 aliceVision/share/pkgconfig
5555
56- # Download mrSegmentation and the models, install the requirements and set all the variables
57- WORKDIR ${MESHROOM_BUNDLE}
58- RUN git clone https://github.com/meshroomHub/mrSegmentation.git mrSegmentation
59- RUN python -m pip install --upgrade setuptools
60- RUN python -m pip install -r mrSegmentation/requirements.txt
61- RUN rm mrSegmentation/requirements.txt mrSegmentation/setup.py
62- ENV MESHROOM_NODES_PATH="${MESHROOM_BUNDLE}/mrSegmentation/meshroom/nodes"
63- ENV PYTHONPATH="${PYTHONPATH}:${MESHROOM_BUNDLE}/mrSegmentation"
64-
65- RUN git clone https://gitlab.com/alicevision/imagepromptnnmodels.git imagePromptNNModels
66- RUN rm imagePromptNNModels/.gitattributes
67- ENV RDS_RECOGNITION_MODEL_PATH="${MESHROOM_BUNDLE}/imagePromptNNModels/models/ram_plus_swin_large_14m.pth"
68- ENV RDS_DETECTION_CONFIG_PATH="${MESHROOM_BUNDLE}/imagePromptNNModels/models/models/GroundingDINO_SwinT_OGC.py"
69- ENV RDS_DETECTION_MODEL_PATH="${MESHROOM_BUNDLE}/imagePromptNNModels/models/groundingdino_swint_ogc.pth"
70- ENV RDS_SEGMENTATION_MODEL_PATH="${MESHROOM_BUNDLE}/imagePromptNNModels/models/sam_vit_h_4b8939.pth"
71- ENV RDS_TOKENIZER_PATH="${MESHROOM_BUNDLE}/imagePromptNNModels/models/tokenizer"
72- ENV TRANSFORMERS_OFFLINE="TRUE"
73-
7456# Enable SSH X11 forwarding, needed when the Docker image
7557# is run on a remote machine
7658RUN dnf install -y openssh openssh-clients openssh-server xorg-x11-xauth
0 commit comments