Spaces:
Sleeping
Sleeping
fixed req
Browse files- Dockerfile +5 -5
- Makefile +4 -4
- requirements.txt +4 -9
Dockerfile
CHANGED
@@ -22,11 +22,11 @@ COPY ./requirements.txt /code/requirements.txt
|
|
22 |
|
23 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
24 |
|
25 |
-
# mim openmmlabs installs (quick fix..)
|
26 |
-
RUN mim install mmengine
|
27 |
-
RUN mim install mmcv
|
28 |
-
RUN mim install mmdet
|
29 |
-
RUN mim install mmocr
|
30 |
|
31 |
# Set up a new user named "user" with user ID 1000
|
32 |
RUN useradd -m -u 1000 user
|
|
|
22 |
|
23 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
24 |
|
25 |
+
# # mim openmmlabs installs (quick fix..)
|
26 |
+
# RUN mim install mmengine
|
27 |
+
# RUN mim install mmcv
|
28 |
+
# RUN mim install mmdet
|
29 |
+
# RUN mim install mmocr
|
30 |
|
31 |
# Set up a new user named "user" with user ID 1000
|
32 |
RUN useradd -m -u 1000 user
|
Makefile
CHANGED
@@ -26,10 +26,10 @@ install_openmmlab_with_mim:
|
|
26 |
|
27 |
install_openmmlab:
|
28 |
@echo "Running Openmmlab requirements install"
|
29 |
-
pip install mmengine
|
30 |
-
pip install mmcv
|
31 |
-
pip install mmdet
|
32 |
-
pip install mmocr
|
33 |
|
34 |
build:
|
35 |
pip install -e .
|
|
|
26 |
|
27 |
install_openmmlab:
|
28 |
@echo "Running Openmmlab requirements install"
|
29 |
+
pip install mmengine==0.7.4
|
30 |
+
pip install mmcv==2.0.1
|
31 |
+
pip install mmdet==3.0.0
|
32 |
+
pip install mmocr==1.0.0
|
33 |
|
34 |
build:
|
35 |
pip install -e .
|
requirements.txt
CHANGED
@@ -16,14 +16,9 @@ jiwer
|
|
16 |
evaluate
|
17 |
# pillow==9.5.0
|
18 |
|
|
|
|
|
|
|
|
|
19 |
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
# make install_openmmlab (they are excuted in dockerfile)
|
24 |
-
# !pip install -U openmim
|
25 |
-
# !mim install mmengine
|
26 |
-
# !mim install mmcv
|
27 |
-
# !mim install mmdet
|
28 |
-
# !mim install mmocr
|
29 |
-
|
|
|
16 |
evaluate
|
17 |
# pillow==9.5.0
|
18 |
|
19 |
+
mmengine==0.7.4
|
20 |
+
mmcv==2.0.1
|
21 |
+
mmdet==3.0.0
|
22 |
+
mmocr==1.0.0
|
23 |
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|