Update Dockerfile to fix np.bool deprecation (#3998)
				
					
				
			This commit is contained in:
		| @ -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 | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user