ultralytics 8.0.103 minor fixes (#2634)

Co-authored-by: kssion <appplus@icloud.com>
Co-authored-by: Eli Spizzichino <diramazioni@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: xbkaishui <xxkaishui@gmail.com>
This commit is contained in:
Glenn Jocher
2023-05-16 01:39:52 +02:00
committed by GitHub
parent e2e3e367a2
commit 7884098857
6 changed files with 7 additions and 13 deletions

View File

@ -28,11 +28,6 @@ RUN python3 -m pip install --upgrade pip wheel
RUN pip install --no-cache tqdm matplotlib pyyaml psutil thop pandas onnx "numpy==1.23"
RUN pip install --no-cache -e .
# Resolve duplicate OpenCV installation issues in https://github.com/ultralytics/ultralytics/issues/2407
RUN apt_packages=$(dpkg -l | grep opencv | awk '{print $2}') && [ -n "$apt_packages" ] && apt-get remove -y $apt_packages || true
RUN pip uninstall -y opencv-python
RUN pip install "opencv-python<4.7"
# Set environment variables
ENV OMP_NUM_THREADS=1