|
发表于 2024-3-27 21:59:23
|
显示全部楼层
我下载了pillow的10.2版本可以适配现在的python,但是在运行yolov5的时候会产生以下报错,有没有其他解决方法
requirements: Pillow==8.4.0 not found and is required by YOLOv5, attempting auto-update...
ERROR: Invalid requirement: "'Pillow==8.4.0'"
requirements: Command 'pip install 'Pillow==8.4.0'' returned non-zero exit status 1.
YOLOv5 2022-7-28 torch 2.2.0 CUDA:0 (NVIDIA GeForce RTX 4060 Laptop GPU, 8188MiB)
Fusing layers...
Model Summary: 213 layers, 7225885 parameters, 0 gradients
image 1/1 C:\Users\shiro\Desktop\01\yolov5-mask-42-master\data\images\bus.jpg: 640x480 3 persons, 1 bus, Done. (0.063s)
Speed: 0.0ms pre-process, 63.3ms inference, 51.9ms NMS per image at shape (1, 3, 640, 640)
Results saved to runs\detect\exp11
@FishC |
|