当前位置:网站首页>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!
边栏推荐
- 域名重定向工具 —— SwitchHosts 实用教程
- Delicious this year
- 关于ETL的两种架构(ETL架构和ELT架构)
- 下载安装 vscode(含汉化、插件的推荐和安装)
- leetcode 204. Count Primes 计数质数 (Easy)
- excel remove all carriage return from a cell
- 论文解读(GSAT)《Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism》
- 小程序中的多表联合查询
- 用户体验 | 如何度量用户体验?
- 选择合适的 DevOps 工具,从理解 DevOps 开始
猜你喜欢

威纶通触摸屏如何打开并升级EB8000旧版本项目并更换触摸屏型号?

Prufer sequence

移动端人脸风格化技术的应用

小程序毕设作品之微信体育馆预约小程序毕业设计成品(3)后台功能

关于ETL的两种架构(ETL架构和ELT架构)

小程序毕设作品之微信体育馆预约小程序毕业设计成品(2)小程序功能

Use Jenkins for continuous integration, this knowledge point must be mastered

APP专项测试:流量测试

seaborn笔记:可视化统计关系(散点图、折线图)

Advanced Algebra_Proof_The algebraic multiplicity of any eigenvalue of a matrix is greater than or equal to its geometric multiplicity
随机推荐
安全第五次课后练习
系统可用性:SRE口中的3个9,4个9...到底是个什么东西?
文件查询匹配神器 【glob.js】 实用教程
使用Jenkins做持续集成,这个知识点必须要掌握
使用分类权重解决数据不平衡的问题
excel change cell size
46.全排列
小程序中的多表联合查询
How to prevent governance attacks in DAOs?
Wechat Gymnasium Appointment Mini Program Graduation Design Finished Work (4) Opening Report
从0到100:招生报名小程序开发笔记
一种灵活的智能合约协作方式
y84.第四章 Prometheus大厂监控体系及实战 -- prometheus告警机制进阶(十五)
移动端人脸风格化技术的应用
得物客服热线的演进之路
三、mysql 存储引擎-建库建表操作
毫秒级!千万人脸库快速比对,上亿商品图片检索,背后的极速检索用了什么神器?
联邦学习入门
dvwa 通关记录1 - 暴力破解 Brute Force
如何给 UE4 场景添加游戏角色