|
|
@ -23,6 +23,9 @@ WORKDIR /usr/src/ultralytics
|
|
|
|
RUN git clone https://github.com/ultralytics/ultralytics /usr/src/ultralytics
|
|
|
|
RUN git clone https://github.com/ultralytics/ultralytics /usr/src/ultralytics
|
|
|
|
ADD https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8n.pt /usr/src/ultralytics/
|
|
|
|
ADD https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8n.pt /usr/src/ultralytics/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Remove opencv-python from requirements.txt as it conflicts with opencv-python installed in base image
|
|
|
|
|
|
|
|
RUN grep -v '^opencv-python' requirements.txt > tmp.txt && mv tmp.txt requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
# Install pip packages manually for TensorRT compatibility https://github.com/NVIDIA/TensorRT/issues/2567
|
|
|
|
# Install pip packages manually for TensorRT compatibility https://github.com/NVIDIA/TensorRT/issues/2567
|
|
|
|
RUN python3 -m pip install --upgrade pip wheel
|
|
|
|
RUN python3 -m pip install --upgrade pip wheel
|
|
|
|
RUN pip install --no-cache tqdm matplotlib pyyaml psutil pandas onnx thop "numpy==1.23"
|
|
|
|
RUN pip install --no-cache tqdm matplotlib pyyaml psutil pandas onnx thop "numpy==1.23"
|
|
|
|