当前位置:网站首页>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!
边栏推荐
- 03、GO语言变量定义、函数
- Create virtual environments with virtualenv and Virtualenvwrapper virtual environment management tools
- 小程序毕设作品之微信美食菜谱小程序毕业设计成品(5)任务书
- 游戏元宇宙发展趋势展望分析
- 字符串——Trie
- 【SeaTunnel】从一个数据集成组件演化成企业级的服务
- 2022 edition of MySQL tutorial, top collection good, take your time
- 深度学习Course2第一周Practical aspects of Deep Learning习题整理
- 入门数据库Days4
- y84. Chapter 4 Prometheus Factory Monitoring System and Actual Combat -- Advanced Prometheus Alarm Mechanism (15)
猜你喜欢
随机推荐
Delicious this year
10年稳定性保障经验总结,故障复盘要回答哪三大关键问题?|TakinTalks大咖分享
联邦学习在金融领域的发展和应用
【移动Web】移动端适配
NgRx Store createSelector 的单步调试和源代码分析
leetcode 204. Count Primes 计数质数 (Easy)
SOM Network 2: Implementation of the Code
03、GO语言变量定义、函数
Codeforces CodeTON Round 2 (Div. 1 + Div. 2, Rated, Prizes!) A-D 题解
使用Jenkins做持续集成,这个知识点必须要掌握
图论——强连通分量缩点+拓扑排序
excel clear format
No more rolls!After joining ByteDance for a week, he ran decisively.
xctf attack and defense world web master advanced area web2
小程序毕设作品之微信体育馆预约小程序毕业设计成品(2)小程序功能
深度学习Course2第二周Optimization Algorithms习题整理
number of solutions to solve a multivariate multi-degree equation
How to prevent governance attacks in DAOs?
如何防范 DAO 中的治理攻击?
论文解读(GSAT)《Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism》









