Skip to content

Commit d82d24e

Browse files
committed
fix mmdetection nummpy error
1 parent fca2266 commit d82d24e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

label_studio_ml/examples/mmdetection-3/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ ENV PYTHONUNBUFFERED=1 \
4141
RUN --mount=type=cache,target=$PIP_CACHE_DIR \
4242
pip install -U pip
4343

44+
# Install numpy early to avoid dependency conflicts
45+
RUN --mount=type=cache,target=${PIP_CACHE_DIR},sharing=locked \
46+
pip install "numpy~=1.26"
47+
4448
# Install base requirements
4549
COPY requirements-base.txt .
4650
RUN --mount=type=cache,target=${PIP_CACHE_DIR},sharing=locked \

0 commit comments

Comments
 (0)