ultralytics 8.0.101
mosaic9() and loss bug fixes (#2608)
Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yonghye Kwon <developer.0hye@gmail.com>
This commit is contained in:
@ -29,9 +29,8 @@ RUN pip install --no-cache tqdm matplotlib pyyaml psutil thop pandas onnx "numpy
|
||||
RUN pip install --no-cache -e .
|
||||
|
||||
# Resolve duplicate OpenCV installation issues in https://github.com/ultralytics/ultralytics/issues/2407
|
||||
RUN apt-get remove `dpkg -l | grep opencv | awk '{print $2}'`
|
||||
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 rm /usr/local/lib/python3.8/dist-packages/cv2 # Optional
|
||||
RUN pip install "opencv-python<4.7"
|
||||
|
||||
# Set environment variables
|
||||
|
Reference in New Issue
Block a user