当前位置:网站首页>When solving yolov5 training: "AssertionError: train: No labels in VOCData/dataSet_path/train.cache. Can not train"
When solving yolov5 training: "AssertionError: train: No labels in VOCData/dataSet_path/train.cache. Can not train"
2022-08-01 22:38:00 【Bobo loves to learn】
When I used the data set I marked to train the yolov5 model, everything felt normal, but I couldn't find the problem of this bug. I searched all the csdn, basically it said that the folder corresponds to the problem, butIt didn't work. In the end, the reason was caused by my own carelessness. I deeply reflect on it here.
Ok, without further ado, here's the solution:
– Check the number of categories and class names in the "data/myvoc.yaml" configuration file. In general, the file path is not wrong, it's easyIgnore the category information below.
–!Note: The number of categories and category names here must be in one-to-one correspondence with the file you converted to yolo format earlier.
– As long as there is a one-to-one correspondence, the training will basically notIf you report an error, you will report an error and send me a private message, and I will solve it for you!
边栏推荐
猜你喜欢

数据分析04

从0到100:招生报名小程序开发笔记

(Translation) How the contrasting color of the button guides the user's actions

论文解读(GSAT)《Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism》

罗克韦尔AB PLC RSLogix5000中的比较指令使用方法介绍

使用分类权重解决数据不平衡的问题

小程序毕设作品之微信美食菜谱小程序毕业设计成品(6)开题答辩PPT

感觉自己好傻

联邦学习入门

【SeaTunnel】从一个数据集成组件演化成企业级的服务
随机推荐
[Mobile Web] Mobile terminal adaptation
PAM 回文自动机
vscode hide menu bar
华为无线设备配置全局双链路冷备份(AC全局配置方式)
APP专项测试:流量测试
力扣第 304 场周赛复盘
牛客多校4 A.Task Computing 思维
从0到100:招生报名小程序开发笔记
excel remove all carriage return from a cell
1. @Component注解的原理剖析
xctf attack and defense world web master advanced area webshell
PAM Palindromic Automata
dvwa 通关记录1 - 暴力破解 Brute Force
SQL Server(设计数据库--存储过程--触发器)
下载安装 vscode(含汉化、插件的推荐和安装)
Flutter基础学习(一)Dart语言入门
y84. Chapter 4 Prometheus Factory Monitoring System and Actual Combat -- Advanced Prometheus Alarm Mechanism (15)
2022 edition of MySQL tutorial, top collection good, take your time
小程序毕设作品之微信美食菜谱小程序毕业设计成品(6)开题答辩PPT
联邦学习入门