当前位置:网站首页>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!
边栏推荐
- 小程序中的多表联合查询
- visual studio code multiple editing
- 入门数据库Days4
- 易周金融分析 | 银行ATM机智能化改造提速;互联网贷款新规带来挑战
- Recycling rental system 100% open source without encryption Mall + recycling + rental
- Deep Learning Course2 Week 2 Optimization Algorithms Exercises
- xctf攻防世界 Web高手进阶区 webshell
- 小程序毕设作品之微信美食菜谱小程序毕业设计成品(8)毕业设计论文模板
- leetcode 204. Count Primes 计数质数 (Easy)
- [Mobile Web] Mobile terminal adaptation
猜你喜欢
威纶通触摸屏如何打开并升级EB8000旧版本项目并更换触摸屏型号?
编曲软件FL studio20.8中文版功能和作用
leetcode刷题
Ten years after graduation, financial freedom: those things that are more important than hard work, no one will ever teach you
游戏元宇宙发展趋势展望分析
【数据分析03】
03、GO语言变量定义、函数
npm包【详解】(内含npm包的开发、发布、安装、更新、搜索、卸载、查看、版本号更新规则、package.json详解等)
Postman 批量测试接口详细教程
Still struggling with reporting tool selection?To take a look at this
随机推荐
ping no reply
2022年最新河北建筑八大员(机械员)模拟考试题库及答案
[机缘参悟-58]:《素书》-5-奉行仁义[遵义章第五]
华为无线设备配置双链路冷备份(AP指定配置方式)
Ten years after graduation, financial freedom: those things that are more important than hard work, no one will ever teach you
线程池分析
excel clear format
Deep learning Course2 first week Practical aspects of Deep Learning exercises
高等代数_证明_矩阵的行列式为特征值之积, 矩阵的迹为特征值之和
Still struggling with reporting tool selection?To take a look at this
xss相关知识点以及从 XSS Payload 学习浏览器解码
Getting Started Database Days4
下载安装 vscode(含汉化、插件的推荐和安装)
关于ETL的两种架构(ETL架构和ELT架构)
_ _ determinant of a matrix is higher algebra eigenvalue of the product, the characteristic value of matrix trace is combined
小程序毕设作品之微信体育馆预约小程序毕业设计成品(1)开发概要
小程序毕设作品之微信美食菜谱小程序毕业设计成品(6)开题答辩PPT
more grown, more lonely
用virtualenv和Virtualenvwrapper虚拟环境管理工具创建虚拟环境
Three, mysql storage engine - building database and table operation