Update Dockerfile to fix np.bool deprecation (#3998)
This commit is contained in:
parent
fa5c8f2764
commit
c20d2654e9
1 changed files with 2 additions and 0 deletions
|
|
@ -37,6 +37,8 @@ RUN yolo export model=tmp/yolov8n.pt format=edgetpu imgsz=32
|
|||
RUN yolo export model=tmp/yolov8n.pt format=ncnn imgsz=32
|
||||
# Requires <= Python 3.10, bug with paddlepaddle==2.5.0
|
||||
RUN pip install --no-cache paddlepaddle==2.4.2 x2paddle
|
||||
# Fix error: `np.bool` was a deprecated alias for the builtin `bool`
|
||||
RUN pip install --no-cache numpy==1.23.5
|
||||
# Remove exported models
|
||||
RUN rm -rf tmp
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue