Skip to content

Commit

Permalink
Update mmdeploy file (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiivysotskyi authored Oct 1, 2024
1 parent 33a5616 commit 6d9ea89
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions docker/deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,11 @@ FROM openmmlab/mmdeploy:ubuntu20.04-cuda11.8-mmdeploy1.3.0
#RUN pip install --no-cache-dir -e /root/workspace/mmsegmentation

# previous method of local installation fails so fallback to the official method
RUN rm -rf /root/workspace/mmdeploy
RUN git clone https://github.com/logivations/mmdeploy.git /root/workspace/mmdeploy

# RUN mim install mmsegmentation
RUN mim install mmsegmentation
RUN python3 -m pip install ftfy regex

RUN pip install -U openmim

RUN mim install git+https://github.com/logivations/mmsegmentation.git
RUN git clone https://github.com/logivations/mmsegmentation.git /code/mmsegmentation

#MMPretrain
RUN mim install git+https://github.com/logivations/mmpretrain.git
# RUN git clone https://github.com/logivations/mmpretrain.git /code/mmpretrain
RUN pip install -U openmim && mim install git+https://github.com/logivations/mmpretrain.git
RUN git clone https://github.com/logivations/mmpretrain.git /code/mmpretrain

0 comments on commit 6d9ea89

Please sign in to comment.