Skip to content

Commit

Permalink
use mim for mmdet installation
Browse files Browse the repository at this point in the history
  • Loading branch information
yCobanoglu committed Nov 16, 2023
1 parent 6041750 commit 38359e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
COPY requirements.txt ./
RUN pip3 install -r requirements.txt
RUN pip3 install -u openmim
RUN mim install mmengine
RUN mim install "mmdet==3.0.0rc6"
RUN mim install mmocr


COPY ./ebl_ai ./ebl_ai
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ attrs
waitress
gdown
opencv-python
mmengine
mmdet==3.0.0rc6
mmocr
--find-links --index-url https://download.openmmlab.com/mmcv/dist/cpu/torch2.0/index.html
mmcv==2.0.1
#mmengine
#mmdet==3.0.0rc6
#mmocr
#--find-links --index-url https://download.openmmlab.com/mmcv/dist/cpu/torch2.0/index.html
#mmcv==2.0.1
flake8
pytest
pytest-cov
Expand Down

0 comments on commit 38359e5

Please sign in to comment.