mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 21:44:22 +08:00
Update Dockerfile to fix np.bool
deprecation (#3998)
This commit is contained in:
parent
fa5c8f2764
commit
c20d2654e9
@ -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
|
RUN yolo export model=tmp/yolov8n.pt format=ncnn imgsz=32
|
||||||
# Requires <= Python 3.10, bug with paddlepaddle==2.5.0
|
# Requires <= Python 3.10, bug with paddlepaddle==2.5.0
|
||||||
RUN pip install --no-cache paddlepaddle==2.4.2 x2paddle
|
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
|
# Remove exported models
|
||||||
RUN rm -rf tmp
|
RUN rm -rf tmp
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user