Run this model with HF Jobs

Run Travor278/ict-zn-agent on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Travor278/ict-zn-agent. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Travor278/ict-zn-agent on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

锌电解极板短路检测:模型权重

锌电解槽面伪彩色红外图上的极板短路检测(轻 / 中 / 重三级),以及巡检智能体里证据账本、热像重新分级、转严重预警用到的拟合模型。

  • 训练数据:课题组提供的某锌电解厂 2023 年 5 月 16 个槽的数据,30 分钟一帧伪彩色红外图,1193 帧有轻 / 中 / 重标注。数据不公开,这里只有模型。
  • 划分:按日期,5 月 1–16 日训练,17–19 日验证,20–31 日测试。所有阈值、模型和规则只用前 19 天选定,测试日只报告一次。
  • 目录:和项目根目录的布局一致,hf download Travor278/ict-zn-agent --local-dir <项目根目录> 即可放回原位。每个文件的 SHA-256 见 SHA256SUMS。

文件

主流程

路径 内容
runs/det/y11s_base/weights/best.pt 主检测器:YOLO11s,三类 slight / middle / serious(轻 / 中 / 重),输入尺寸 1280
runs/det/y11s_aug/weights/best.pt 增强检测器:同样的 YOLO11s,训练集另加 1316 张数据增强模块 ElecAug 合成的干扰图;它的置信度是证据账本的第二专家
runs/fusion/y11s_ens/ledger.pkl 证据账本:分阶段级联取证的各阶段模型、停止阈值,以及"短路可能性"的显示校准
runs/severity/grader.pkl 热像重新分级:按热像证据重新判定轻 / 中 / 重
runs/forecast/forecast.pkl 转严重预警:排序规则和给出显示概率的模型
derived/palette_lut.npy 伪彩色 → 热度指数查找表(从图像拟合;没有色标,热度指数是相对量)
derived/pitch.json 各槽拉正后的极板间距

对照

路径 内容
runs/det/y11s_1cls/weights/best.pt 单类 short:只找短路,不分轻重
runs/det/y11m_base/weights/best.pt YOLO11m,三类
runs/det/y11s_rand/weights/best.pt 按 7 : 1.5 : 1.5 随机划分训练(相邻帧只隔 30 分钟,会同时落进训练集和测试集,指标偏高)
runs/det/y11s_cv{1,2,3,4}/weights/best.pt 训练日每 4 天一折,每折在其余训练日上训练,用来得到训练日的留出检测结果
runs/fusion/{y11s_base,y11s_aug,y11m_base,y11s_base_cf}/ledger.pkl 其他检测器组合下拟合的证据账本

每个检测器目录里另有训练参数 args.yaml、逐轮曲线 results.csv 和验证 / 测试日指标 eval.json。

结果(测试日 5 月 20–31 日,419 帧)

指标 单纯检测 智能体
极板误报数 1227 949
极板召回 0.823 0.820
严重极板召回 0.4% 33.5%
转严重预警:每帧前 3 块的覆盖率 随机 22% 69%

主检测器在测试日的三类 mAP50 为 0.48,单类为 0.85:短路找得到,难在分级。

用法

from ultralytics import YOLO

model = YOLO("runs/det/y11s_base/weights/best.pt")
result = model.predict("frame.jpg", imgsz=1280, conf=0.05, max_det=200)[0]
for cls, conf, box in zip(result.boxes.cls, result.boxes.conf, result.boxes.xyxy):
    print(model.names[int(cls)], float(conf), box.tolist())
  • 输入是这台红外相机输出的伪彩色原图。色调代表温度,训练时关掉了色调增强;换相机或调色板需要重新训练。
  • .pkl 是项目代码读取的 Python pickle(含 scikit-learn 对象和项目里定义的类),代码暂未公开。只从可信来源加载 pickle。

许可

检测器由 Ultralytics YOLO11 预训练权重微调而来,按 AGPL-3.0 发布。

Downloads last month
63
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support