Datasets:
text stringlengths 37 37 |
|---|
2 0.137500 0.090833 0.031667 0.025000 |
2 0.139167 0.055833 0.028333 0.025000 |
2 0.207500 0.044167 0.051667 0.041667 |
2 0.207500 0.090000 0.035000 0.030000 |
4 0.861667 0.559167 0.030000 0.091667 |
4 0.880000 0.445833 0.033333 0.088333 |
4 0.067500 0.563333 0.031667 0.046667 |
4 0.093333 0.628333 0.040000 0.036667 |
4 0.218333 0.656667 0.036667 0.046667 |
4 0.301667 0.252500 0.056667 0.025000 |
4 0.440000 0.635833 0.013333 0.071667 |
4 0.540833 0.964167 0.058333 0.035000 |
4 0.873333 0.440000 0.026667 0.090000 |
4 0.920833 0.900833 0.011667 0.041667 |
4 0.976667 0.336667 0.026667 0.066667 |
2 0.170000 0.336667 0.133333 0.086667 |
2 0.179167 0.446667 0.138333 0.093333 |
2 0.166667 0.259167 0.106667 0.028333 |
2 0.625000 0.340000 0.220000 0.086667 |
2 0.624167 0.438333 0.218333 0.096667 |
2 0.634167 0.237500 0.195000 0.091667 |
2 0.632500 0.541667 0.185000 0.070000 |
2 0.858333 0.446667 0.206667 0.073333 |
2 0.853333 0.347500 0.156667 0.065000 |
2 0.854167 0.541667 0.155000 0.046667 |
3 0.378333 0.496667 0.243333 0.970000 |
4 0.562500 0.344167 0.028333 0.095000 |
4 0.201667 0.572500 0.030000 0.101667 |
4 0.288333 0.237500 0.023333 0.058333 |
4 0.421667 0.959167 0.036667 0.061667 |
4 0.717500 0.336667 0.021667 0.106667 |
4 0.347500 0.082500 0.028333 0.091667 |
4 0.375833 0.119167 0.018333 0.078333 |
4 0.953333 0.765833 0.060000 0.085000 |
4 0.175833 0.274167 0.021667 0.088333 |
4 0.557500 0.765833 0.025000 0.098333 |
4 0.694167 0.040000 0.075000 0.050000 |
4 0.685000 0.324167 0.020000 0.095000 |
4 0.220000 0.265000 0.023333 0.083333 |
4 0.267500 0.245000 0.038333 0.050000 |
2 0.956667 0.785000 0.043333 0.036667 |
2 0.959167 0.828333 0.038333 0.026667 |
4 0.080000 0.044167 0.106667 0.038333 |
4 0.350833 0.056667 0.155000 0.030000 |
4 0.605000 0.092500 0.033333 0.111667 |
4 0.695833 0.710000 0.018333 0.070000 |
4 0.355833 0.874167 0.015000 0.088333 |
4 0.451667 0.562500 0.020000 0.108333 |
4 0.855000 0.879167 0.020000 0.081667 |
4 0.041667 0.175833 0.040000 0.061667 |
4 0.069167 0.104167 0.031667 0.051667 |
4 0.891667 0.071667 0.046667 0.083333 |
1 0.529167 0.969167 0.031667 0.041667 |
4 0.278333 0.649167 0.020000 0.071667 |
4 0.289167 0.287500 0.025000 0.065000 |
3 0.958333 0.497500 0.080000 0.991667 |
3 0.628333 0.499167 0.260000 0.995000 |
2 0.110833 0.081667 0.218333 0.160000 |
3 0.621667 0.497500 0.753333 0.991667 |
0 0.506667 0.413333 0.046667 0.300000 |
4 0.050000 0.872500 0.033333 0.095000 |
4 0.770000 0.315000 0.013333 0.080000 |
4 0.929167 0.966667 0.021667 0.056667 |
4 0.233333 0.645000 0.016667 0.080000 |
4 0.195833 0.858333 0.021667 0.063333 |
4 0.450000 0.851667 0.023333 0.070000 |
4 0.698333 0.849167 0.026667 0.068333 |
4 0.115000 0.942500 0.026667 0.075000 |
4 0.534167 0.963333 0.055000 0.053333 |
4 0.611667 0.235000 0.130000 0.166667 |
0 0.259167 0.405000 0.041667 0.473333 |
4 0.022500 0.030833 0.025000 0.055000 |
4 0.273333 0.041667 0.026667 0.043333 |
4 0.461667 0.472500 0.016667 0.095000 |
4 0.544167 0.030000 0.068333 0.030000 |
4 0.701667 0.586667 0.026667 0.076667 |
2 0.374167 0.230833 0.218333 0.091667 |
2 0.379167 0.126667 0.201667 0.090000 |
2 0.383333 0.340000 0.200000 0.083333 |
2 0.385000 0.554167 0.193333 0.088333 |
2 0.390000 0.445833 0.190000 0.088333 |
2 0.395833 0.657500 0.165000 0.085000 |
2 0.402500 0.770000 0.161667 0.090000 |
2 0.621667 0.662500 0.216667 0.075000 |
2 0.632500 0.450833 0.215000 0.085000 |
2 0.630000 0.766667 0.206667 0.086667 |
2 0.628333 0.873333 0.203333 0.083333 |
2 0.625000 0.230000 0.193333 0.093333 |
2 0.625833 0.344167 0.191667 0.091667 |
2 0.625000 0.550833 0.190000 0.085000 |
2 0.635000 0.124167 0.183333 0.095000 |
2 0.875833 0.125833 0.225000 0.091667 |
2 0.873333 0.230000 0.206667 0.083333 |
2 0.880000 0.344167 0.213333 0.081667 |
2 0.879167 0.445833 0.211667 0.088333 |
2 0.881667 0.555833 0.216667 0.081667 |
2 0.882500 0.660000 0.218333 0.086667 |
2 0.890000 0.876667 0.220000 0.086667 |
2 0.890000 0.766667 0.213333 0.076667 |
0 0.267500 0.518333 0.048333 0.903333 |
PV_Multi_Defect-corrected
Photovoltaic (PV) panel multi-defect detection — cleaned, split and standardized version of the PV-Multi-Defect dataset. 光伏组件多缺陷检测 —— PV-Multi-Defect 数据集的清理、划分与规整版。
English
What is this?
A cleaned, split and standardized object-detection version of the PV-Multi-Defect dataset — photovoltaic panel imagery with 5 defect classes: broken areas, hot spots (bright spots), black/gray borders, scratches, and non-electrified (black) areas. Upstream repository: houhou34/PV-Multi-Defect.
Reference: Li, L., Wang, Z. & Zhang, T. (2023). "GBH-YOLOv5: Ghost Convolution with BottleneckCSP and Tiny Target Prediction Head Incorporating YOLOv5 for PV Panel Defect Detection." Electronics, 12(3), 561 — https://doi.org/10.3390/electronics12030561.
The original release ships as a flat, unsplit JPEGImages/ + Annotations/ pair
(Pascal VOC, 600×600 grayscale, no split), containing 61 groups of byte-identical
duplicate images, 2 images with no annotation and 1 annotation with no objects,
and VOC metadata polluted with a hard-coded personal Windows path and a bogus
<folder> value.
This release removes the duplicates and orphan files, keeps the one near-duplicate cluster on a single side of the split, cleans the VOC metadata, provides a reproducible train/val/test split, and ships ready-to-train Pascal VOC XML + YOLO TXT annotations with configuration files.
⚠️ Upstream license: none stated. The repository ships no LICENSE file. The associated article is open access (MDPI). See License & attribution — verify before commercial use.
Corrections vs. the official release
| # | Correction | Detail |
|---|---|---|
| 1 | Removed 61 duplicate images | 61 pairs are byte-identical (md5). The redundant copy of each pair was removed so identical content cannot straddle the new split. |
| 2 | Removed orphan / empty files | 2 images had no annotation (img3059, img9513) and 1 annotation (img7863) contained no objects; all 3 were dropped. |
| 3 | Near-duplicate cluster kept together | One cluster of 12 perceptually identical images (8×8-dHash ≤ 2 and 32×32 pixel-MSE ≤ 10) is assigned entirely to one split, so it cannot leak across train/val/test. |
| 4 | Reproducible train/val/test split | Upstream ships no split at all. This release provides a seeded, class-stratified 70 / 15 / 15 split (seed 42) over the near-duplicate groups. |
| 5 | VOC metadata clean-up | The upstream XML carried a bogus <folder> value (new / result2), a hard-coded local <path> exposing a personal Windows path (C:\Users\86151\Desktop\...), and <database>Unknown</database>. All are normalised. |
| 6 | Dual format + packaging | Added YOLO TXT from the same coordinates alongside the upstream VOC XML, plus classes.txt, data.yaml and per-split CSV tables. |
Image pixels are never modified. All 1,044 images are byte-for-byte identical to the upstream files (600×600, single-channel grayscale).
Scope — structural clean-up only. This is not a re-annotation. We de-duplicate, drop orphans and re-package the data; we do not re-verify individual boxes.
Structural checks performed on the released set:
| Check | Method | Result |
|---|---|---|
| Filename ↔ image ↔ XML pairing | bidirectional | 0 mismatches / orphans |
Image size vs. XML <size> |
pixel dimensions vs. header | 0 discrepancies (all 600×600) |
| Out-of-range boxes | xmin/ymin ≥ 0, xmax ≤ W, ymax ≤ H | 0 |
| Degenerate boxes | zero / negative width or height | 0 |
| Cross-split duplicate images | byte-identical md5 across splits | 0 |
| EXIF orientation anomalies | tag scan | 0 |
Dataset at a glance
| Property | Value |
|---|---|
| Images | 1,044 (600 × 600, single-channel grayscale .jpg) |
| Classes | 5 — black_border, broken, hot_spot, no_electricity, scratch |
| Bounding boxes | 3,403 |
| Formats | Pascal VOC XML · YOLO TXT |
| Split | train 723 / val 155 / test 166 (seeded, class-stratified) |
Boxes per class: hot_spot 1,553 · scratch 1,349 · black_border 251 ·
no_electricity 158 · broken 92
Boxes per split: train 2,358 · val 519 · test 526
Defect types (from the upstream README): broken areas · obvious bright-spot areas · black or gray border areas · scratched areas · non-electrified (black) areas.
Structure
PV_Multi_Defect-corrected/
├── images/{train,val,test}/ # 600x600 grayscale .jpg
├── labels/{train,val,test}/ # YOLO: cls cx cy w h (normalized)
├── Annotations/ # Pascal VOC XML (flat, cleaned)
├── JPEGImages/ # copy of the images (VOC layout)
├── csv/
│ ├── train_labels.csv # filename,width,height,class,xmin,ymin,xmax,ymax
│ ├── val_labels.csv
│ └── test_labels.csv
├── classes.txt # 5 class names, one per line
├── data.yaml # Ultralytics YOLO configuration
├── LICENSE
└── README.md
Every image has exactly one YOLO .txt and one VOC .xml; there are no empty label files.
Quick start (Ultralytics YOLO)
yolo detect train data=data.yaml model=yolov8n.pt epochs=100 imgsz=640
Citation
1. The original dataset / paper — please always cite this.
@article{li2023gbh,
title = {GBH-YOLOv5: Ghost Convolution with BottleneckCSP and Tiny Target
Prediction Head Incorporating YOLOv5 for PV Panel Defect Detection},
author = {Li, Longlong and Wang, Zhifeng and Zhang, Tingting},
journal = {Electronics},
volume = {12},
number = {3},
pages = {561},
year = {2023},
publisher = {MDPI},
doi = {10.3390/electronics12030561}
}
2. This corrected release — please cite it as well. It is not identical to the official release: duplicates and orphans were removed, a reproducible split was added and the VOC metadata was cleaned, so a citation to the original alone does not describe this version.
@misc{pv_multi_defect_corrected,
author = {KeenForgeAI},
title = {PV_Multi_Defect-corrected: a cleaned release of the PV-Multi-Defect photovoltaic panel defect dataset},
year = {2026},
version = {1.0},
publisher = {KeenForgeAI},
url = {https://huggingface.co/datasets/KeenForgeAI/PV_Multi_Defect-corrected},
note = {Curated by Lu Gan and Sam Li. Derived from the PV-Multi-Defect
dataset (Li, Wang & Zhang, Electronics 2023). Upstream licence unstated.}
}
3. The annotation tool (optional).
@software{keenforge,
author = {KeenForgeAI},
title = {KeenForge: a local-first, offline image annotation and model-training desktop tool},
year = {2026},
publisher = {KeenForgeAI},
url = {https://github.com/KeenForgeAI/KeenForge},
note = {MIT licensed. Developed by Lu Gan and Sam Li.}
}
License & attribution
The upstream PV-Multi-Defect dataset states no license. The GitHub repository ships
no LICENSE file and no terms of use; the associated article is published open access by
MDPI. The copyright status of the underlying images and annotations is therefore
undetermined — verify it before any commercial use. See LICENSE in this repository.
Our modifications (de-duplication, orphan removal, split, metadata clean-up, format conversion, documentation) are released under CC BY 4.0. Image pixels are unmodified and remain subject to the upstream terms.
Provenance
- Source: PV-Multi-Defect dataset (Pascal VOC), GitHub
houhou34/PV-Multi-Defect. - Upstream: 1,108 images / 1,106 XML / 3,981 objects; no split; 61 duplicate groups; 2 unannotated images; 1 empty annotation.
- Verified: 1,044 images (3,403 boxes, byte-identical); 61 duplicates removed, 3 orphan/empty files dropped, 0 cross-split leakage, 0 invalid boxes.
中文
这是什么?
PV-Multi-Defect 数据集的清理、划分与标准化目标检测版——光伏组件图像,覆盖 5 类缺陷: 破损区域、亮斑(热斑)、黑/灰边框、划痕、无电(黑区)。上游仓库: houhou34/PV-Multi-Defect。
论文:Li, L., Wang, Z. & Zhang, T. (2023).《GBH-YOLOv5: Ghost Convolution with BottleneckCSP and Tiny Target Prediction Head Incorporating YOLOv5 for PV Panel Defect Detection》,Electronics 12(3), 561 —— https://doi.org/10.3390/electronics12030561。
原始版本以扁平的、无划分的 JPEGImages/ + Annotations/(Pascal VOC,600×600 灰度,无划分)发布,
包含 61 组逐字节完全重复的图片、2 张无标注图片与 1 个无目标的标注文件,
且 VOC 元数据混入了硬编码的个人 Windows 路径与错误的 <folder> 值。
本版本删除重复与孤儿文件、把唯一的近重复簇固定到同一划分、清理 VOC 元数据、 提供可复现的训练/验证/测试划分,并附带开箱即用的 Pascal VOC XML + YOLO TXT 双格式标注及配置文件。
⚠️ 上游未声明许可证。 仓库无 LICENSE 文件;关联论文由 MDPI 开放获取。详见 许可证与署名——商用前请自行确认。
相对官方版的修正
| # | 修正 | 说明 |
|---|---|---|
| 1 | 删除 61 张重复图 | 有 61 对图片逐字节完全相同(md5)。本版删除每对中多余的副本,确保相同内容不会跨越新划分。 |
| 2 | 删除孤儿/空文件 | 2 张图片没有标注(img3059、img9513),1 个标注文件(img7863)不含任何目标;三者均已剔除。 |
| 3 | 近重复簇固定同侧 | 唯一一个由 12 张感知近似图组成的簇(8×8 dHash ≤ 2 且 32×32 像素 MSE ≤ 10)整组分配到一个划分,不会跨越 train/val/test 泄漏。 |
| 4 | 可复现的训练/验证/测试划分 | 上游完全没有划分。本版基于近重复分组,提供固定随机种子、按类别分层的 70 / 15 / 15 划分(随机种子 42)。 |
| 5 | VOC 元数据清理 | 上游 XML 带有错误的 <folder> 值(new / result2)、泄露个人 Windows 路径的硬编码 <path>(C:\Users\86151\Desktop\...)以及 <database>Unknown</database>。均归一化。 |
| 6 | 双格式 + 规范化打包 | 由同一坐标生成 YOLO TXT(与上游 VOC XML 并行),并补充 classes.txt、data.yaml 与按划分的 CSV 表格。 |
图像像素从不修改——全部 1,044 张图与上游文件逐字节一致(600×600,单通道灰度)。
本版范围——仅结构化清理。 这是结构性清理,不是重新标注。我们只做去重、剔除孤儿、重新打包; 不重新核对单个标注框。
已执行的结构化检查(针对发布的集合):
| 检查 | 方法 | 结果 |
|---|---|---|
| 文件名↔图片↔XML 配对 | 双向 | 0 错配 / 孤儿 |
图片尺寸 vs. XML <size> |
像素尺寸 vs. 头信息 | 0 不一致(全部 600×600) |
| 越界框 | xmin/ymin ≥ 0,xmax ≤ W,ymax ≤ H | 0 |
| 退化框 | 宽或高为零/负 | 0 |
| 跨划分重复图 | 跨划分逐字节 md5 | 0 |
| EXIF 方向异常 | 标签扫描 | 0 |
数据集概览
| 属性 | 值 |
|---|---|
| 图片 | 1,044(600 × 600,单通道灰度 .jpg) |
| 类别 | 5 —— black_border、broken、hot_spot、no_electricity、scratch |
| 标注框 | 3,403 |
| 格式 | Pascal VOC XML · YOLO TXT |
| 划分 | train 723 / val 155 / test 166(固定种子、类别分层) |
各类框数: hot_spot 1,553 · scratch 1,349 · black_border 251 ·
no_electricity 158 · broken 92
各划分框数: train 2,358 · val 519 · test 526
缺陷类型(引自上游 README): 破损区域 · 明显亮斑区域 · 黑/灰边框区域 · 划痕区域 · 无电(黑区)。
目录结构
PV_Multi_Defect-corrected/
├── images/{train,val,test}/ # 600x600 灰度 .jpg
├── labels/{train,val,test}/ # YOLO:cls cx cy w h(归一化)
├── Annotations/ # Pascal VOC XML(扁平,已清理)
├── JPEGImages/ # 图片副本(VOC 布局)
├── csv/
│ ├── train_labels.csv # filename,width,height,class,xmin,ymin,xmax,ymax
│ ├── val_labels.csv
│ └── test_labels.csv
├── classes.txt # 5 个类别名称,每行一个
├── data.yaml # Ultralytics YOLO 配置文件
├── LICENSE
└── README.md
每张图片都有且仅有一个 YOLO .txt 与一个 VOC .xml,不存在空标签文件。
快速开始 (Ultralytics YOLO)
yolo detect train data=data.yaml model=yolov8n.pt epochs=100 imgsz=640
引用
使用本数据集请同时引用原始工作与本修正版:
1. 原始数据集 / 论文(请务必引用) —— 见上方英文部分 li2023gbh。
2. 本修正版(请一并引用) —— 本版与官方发布并不相同:删除了重复与孤儿、补充了可复现划分、
清理了 VOC 元数据,因此只引用原数据集无法描述本版本。见上方英文部分 pv_multi_defect_corrected。
3. 标注工具(可选) —— 见上方英文部分 keenforge。
许可证与署名
上游 PV-Multi-Defect 数据集未声明许可证。 其 GitHub 仓库无 LICENSE 文件、无使用条款;
关联论文由 MDPI 开放获取。因此原始图像与标注的版权状态未定——商用前请自行确认。
详见本仓库 LICENSE。
我们对数据集的修改部分(去重、剔除孤儿、划分、元数据清理、格式转换、文档)以 CC BY 4.0 发布。 图像像素未修改,仍受上游条款约束。
来源
- 来源:PV-Multi-Defect 数据集(Pascal VOC),GitHub
houhou34/PV-Multi-Defect - 上游:1,108 图 / 1,106 XML / 3,981 框;无划分;61 组重复;2 张未标注图;1 个空标注
- 已校验:1,044 图(3,403 框,逐字节一致);删除 61 张重复、剔除 3 个孤儿/空文件、0 跨划分泄漏、0 非法框
- Downloads last month
- 10