AssertionError: No labels found in D:/NOMALWORK/studying/biyesheji/NEU-DET/my_yolo_dataset/val/labels.\
时间: 2023-10-02 14:10:46 浏览: 189
This error indicates that there are no label files present in the specified directory "D:/NOMALWORK/studying/biyesheji/NEU-DET/my_yolo_dataset/val/labels".
To resolve this error, you need to make sure that the label files for your validation set are present in the correct directory. These label files should have the same name as the corresponding image files and have the extension ".txt".
If the label files are missing, you need to create them using a labeling tool and save them in the correct directory.
If the label files are present but in a different directory, you need to update the path in your code to point to the correct directory.
相关问题
AssertionError: train: No labels found in D:\yolov5-7.0\yolovw\labels\train.cache, can not start training. See https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data
这个错误通常表示在训练过程中找不到标签文件。请确保在指定的路径下(D:\yolov5-7.0\yolovw\labels\train.cache)存在正确的标签文件,并且标签文件的格式符合要求。您可以参考链接(https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data)了解如何正确训练自定义数据。
AssertionError: train: No labels found in F:\【L-Project】\yolov5-master\VOCData\dataSet_path\train.cache, can not start training. See https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data
这个错误提示是在使用 YOLOv5 进行自定义数据训练时出现的,可能是由于训练数据集中没有标签信息导致的。建议参考链接中的文档,检查训练数据集的标签信息是否正确,并确保标签文件与图像文件名对应。另外,也可以尝试使用其他的深度学习框架进行目标检测任务的训练。
阅读全文
相关推荐
![rar](https://img-home.csdnimg.cn/images/20241231044955.png)
![7z](https://img-home.csdnimg.cn/images/20241231044736.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)