当前位置:网站首页>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!
边栏推荐
猜你喜欢
(Translation) How the contrasting color of the button guides the user's actions
y84.第四章 Prometheus大厂监控体系及实战 -- prometheus告警机制进阶(十五)
深度学习Course2第二周Optimization Algorithms习题整理
域名重定向工具 —— SwitchHosts 实用教程
华为无线设备配置双链路冷备份(AP指定配置方式)
Go 微服务开发框架DMicro的设计思路
03. GO language variable definition, function
Use Jenkins for continuous integration, this knowledge point must be mastered
工程建筑行业数据中台指标分析
SRv6 L3VPN的工作原理
随机推荐
13、学习MySQL 分组
从0到1:图文投票小程序设计与研发笔记
feel so stupid
leetcode 204. Count Primes 计数质数 (Easy)
APP专项测试:流量测试
联邦学习的框架搭建
移动端人脸风格化技术的应用
小程序中的多表联合查询
Advanced Algebra_Proof_The algebraic multiplicity of any eigenvalue of a matrix is greater than or equal to its geometric multiplicity
Postman batch test interface detailed tutorial
Deep Learning Course2 Week 2 Optimization Algorithms Exercises
关于ETL的两种架构(ETL架构和ELT架构)
SOM Network 2: Implementation of the Code
数据增强--学习笔记(图像类,cnn)
46.全排列
解决 win10 下 ISE14.7的 iMPACT 崩溃问题 - FPGA 笔记
小程序毕设作品之微信体育馆预约小程序毕业设计成品(2)小程序功能
Yizhou Financial Analysis | The intelligent transformation of bank ATM machines is accelerated; the new Internet loan regulations bring challenges
Still struggling with reporting tool selection?To take a look at this
【移动Web】移动端适配