当前位置:网站首页>【yolov5训练错误】WARNING: Ignoring corrupted image
【yolov5训练错误】WARNING: Ignoring corrupted image
2022-08-10 05:29:00 【Time.Xu】
最近在跑yolov5模型的时候,出现了以下警告,(WARNING: Ignoring corrupted image),模型可以继续训练,但是模型不能成功训练所有图片。

网上有以下两种解决方法:
1、要求将datasets.py里面的verify_image_label函数中部分代码注释掉,然而并没有解决问题。
2、删除.cache缓存文件,重新train

发现是由于图像数据集中存在JPEG和jpg两种格式,将格式统一转化为jpg格式后可以成功训练。
转化代码见链接:
【格式转换】将JPEG图片批量处理为jpg格式_vibration_xu的博客-CSDN博客
然而这两种方法并没有什么作用,最后发现数据图片中有JPEG和jpg两种文件格式,将文件格式统一成.jpg格式后便可成功训练。
将JPEG格式转为.jpg格式的方法链接见如下博客
边栏推荐
- pytorch框架学习(7) tensorboard使用
- 深度梳理:防止模型过拟合的方法汇总
- Pony语言学习(七)——表达式(Expressions)语法(单篇向)
- canvas canvas drawing clock
- Depth of carding: prevent model fitting method
- 基于Qiskit——《量子计算编程实战》读书笔记(一)
- Thread.sleep, Thread.yield role explanation
- 暑期学前作业
- Practical skills 19: Several postures of List to Map List
- 并发工具类——CountDownLatch、CyclicBarrier、Semaphore、Exchanger的介绍与使用
猜你喜欢

基于Qiskit——《量子计算编程实战》读书笔记(五)
![[Thesis Notes] Prototypical Contrast Adaptation for Domain Adaptive Semantic Segmentation](/img/ac/51c2b2e4efed822f110d6963308eef.png)
[Thesis Notes] Prototypical Contrast Adaptation for Domain Adaptive Semantic Segmentation

pytorch框架学习(6)训练一个简单的自己的CNN (三)细节篇

Tkinter 入门之旅

Qiskit 学习笔记2

oracle rac 11g安装执行root.sh时报错

接口调试还能这么玩?

如何在报表控件FastReport.NET中连接XLSX 文件作为数据源?

How to simulate the background API call scene, very detailed!

CORS跨域资源共享漏洞的原理与挖掘方法
随机推荐
Depth of carding: prevent model fitting method
CSDN Markdown 之我见代码块 | CSDN编辑器测评
Practical skills 19: Several postures of List to Map List
Linear Algebra (4)
Hezhou ESP32C3 +1.8"tft network clock under Arduino framework
EasyGBS连接mysql数据库提示“can’t connect to mysql server”,该如何解决?
树莓派入门(3)树莓派GPIO学习
Pony语言学习(七)——表达式(Expressions)语法(单篇向)
FPGA工程师面试试题集锦21~30
How does Jenkins play with interface automation testing?
看了几十篇轻量化目标检测论文扫盲做的摘抄笔记
flex related
FPGA engineer interview questions collection 1~10
Zhongang Mining: Strong downstream demand for fluorite
再肝3天,整理了90个 NumPy 例子,不能不收藏!
Ask you guys.The FlinkCDC2.2.0 version in the CDC community has a description of the supported sqlserver version, please
Interface documentation evolution illustration, some ancient interface documentation tools, you may not have used it
Tkinter 入门之旅
The time for flinkcdc to read pgsql is enlarged. Does anyone know what happened? gmt_create':1
AVL tree insertion--rotation notes
https://blog.csdn.net/vibration_xu/article/details/122580697