帮忙看看出现了啥问题(感谢感谢),Yolov5在训练时出现下列错误:
Validating runs\train\exp8\weights\best.pt...
Fusing layers...
Model Summary: 213 layers, 7015519 parameters, 0 gradients, 15.8 GFLOPs
Class Images Labels P R mAP@.5 mAP@.5:.95: 0%| | 0/1 [00:00<?, ?it/s]
Error: Invalid types for p and targets.
Error: 'indices' is empty or not initialized.
Error: 'indices' is empty or not initialized.
Error: 'indices' is empty or not initialized.
Class Images Labels P R mAP@.5 mAP@.5:.95: 100%|██████████| 1/1 [00:07<00:00, 7.19s/it]
all 8 10 0.123 0.1 0.0266 0.0159
apple 8 5 0.246 0.2 0.0499 0.0296
banana 8 5 0 0 0.00318 0.00222
Results saved to runs\train\exp8