ultralytics 8.0.137
fix Windows NCNN export bug (#3803)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
@ -31,11 +31,16 @@ RUN python3 -m pip install --upgrade pip wheel
|
||||
RUN pip install --no-cache -e '.[export]' thop py-cpuinfo --extra-index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
# Run exports to AutoInstall packages
|
||||
WORKDIR /tmp_exports
|
||||
RUN yolo export format=edgetpu imgsz=32
|
||||
RUN yolo export format=ncnn imgsz=32
|
||||
# Requires <= Python 3.10, bug with paddlepaddle==2.5.0
|
||||
RUN pip install --no-cache paddlepaddle==2.4.2 x2paddle
|
||||
|
||||
# Reset workdir
|
||||
WORKDIR /usr/src/ultralytics
|
||||
RUN rm -rf /tmp_exports
|
||||
|
||||
# Usage Examples -------------------------------------------------------------------------------------------------------
|
||||
|
||||
# Build and Push
|
||||
|
Reference in New Issue
Block a user