Jumper Trace Policy 1.1
English | 简体中文
This behavior-cloning policy traces one jumper wire from a detected endpoint. BreadTopo combines it with an endpoint pose model, an instance segmentation model and board mapping to reconstruct wire pairs. This checkpoint is one component of that pipeline, not a standalone image detector.
Model details
| Item | Description |
|---|---|
| Public version | 1.1 |
| Training initialization | Random initialization; no earlier policy checkpoint was loaded |
| Architecture | Feed-forward CNN with center-window readout, action head and gap head |
| Input | Heading-aligned 128 × 128 crop with six channels |
| Channels | RGB (3), traced-path history (1), candidate-exit heatmap (1), target wire instance mask (1) |
| Action output | 32 relative direction bins, plus jump and terminate |
| Gap output | Scalar used by the tracing controller to choose jump distance |
| Parameters | 1,070,851 |
model.pt SHA-256 |
9f72506a3b57c0cf1f273c925a867ef3f98768c318753e446fe0e07c8167092f |
| License | AGPL-3.0 |
The CNN applies three stride-2 convolution blocks followed by a dilated convolution block. A central 5 × 5 region of the feature map feeds a fully connected representation and separate action and gap heads. BreadTopo loads it with the BC checkpoint loader and tracing adapter, not with the Ultralytics YOLO class.
Training data and procedure
The policy was trained from random initialization on synthetic jumper trajectories and wire instance masks from the public jumper-tracing dataset. The training input combined the train and validation indexes; the dataset's test split was held out for the final evaluation.
The recorded recipe used four epochs, batch size 256, learning rate 0.0003, one warmup epoch, seed 2, 32 direction bins and a center window of 5. Training augmentation included 20% identity-channel dropout, 25% local identity-mask gap corruption, hard crossing examples, 10% path dropout and color jitter of 0.06. The saved 1.1 checkpoint was fixed at epoch 3 before the final test evaluation. The recorded training device was Intel XPU.
The public training guide contains the corresponding command. It omits --init-weights, so the model starts from random initialization. Re-running the recipe can produce different weights across devices and software versions.
Evaluation
Frozen synthetic test
The strict pairing evaluation used 94 synthetic images, ground-truth board-hole locations, predicted endpoints and predicted instance masks.
| Metric | Result |
|---|---|
| Strict hole-pair precision | 0.9222 |
| Strict hole-pair recall | 0.6354 |
| Strict hole-pair F1 | 0.7524 |
| Images with an exact pair set | 47/94 (50.00%) |
- Split: frozen synthetic test, 94 images; split SHA-256:
cd71f463018b2f1a757868e91ef45b31f2ffd72b27339dfaeef9d2f40601e242 - Evaluation settings include CPU inference, image size 960, confidence 0.25, pairing threshold −0.8, arrival distance 8 px, maximum 400 steps and two hypotheses.
- A pair is correct only when both hole IDs match a ground-truth pair. An image is exact only when its complete predicted pair set matches the ground truth.
- This is a component evaluation with ground-truth board holes and predicted endpoint and mask inputs. It is not standalone policy accuracy or a real-photo end-to-end guarantee.
Paired comparison with version 1.0
On the same frozen test images and under the same evaluation protocol, version 1.0 scored strict hole-pair F1 0.7771. The observed 1.1 minus 1.0 difference was −2.47 percentage points. A paired nonparametric bootstrap over images, recomputing micro F1 for 100,000 resamples with seed 20261202, gave a 95% interval of −5.42 to +0.45 percentage points. The interval includes zero and reflects sampling uncertainty across these images; it does not include variation across training seeds.
No independent real-photo test is reported for this release. The model is trained on synthetic scenes, and endpoint, board mapping and mask errors can propagate into tracing.
Use and limitations
Use the BreadTopo BC loader and tracing controller with the endpoint pose model and instance segmentation model. Controller settings and supporting models are part of the inference behavior; changing them can change the resulting pairs. Occlusions, dense crossings, similar wire colors and camera or lighting differences can cause missing or incorrect pairs. Inspect results before using them for circuit analysis.
Related resources
- BreadTopo source and GUI
- Training guide
- Tracing dataset
- Endpoint pose model
- Jumper instance segmentation model
- Code and model: GNU AGPL-3.0
跳线追踪策略 1.1
English | 简体中文
该行为克隆策略从检测到的跳线端点出发,沿一根跳线逐步追踪。BreadTopo 将它与端点 pose 模型、实例分割模型和板面映射结合,重建跳线孔对。该模型是流水线中的策略组件,不是独立的整图检测器。
模型信息
| 项目 | 说明 |
|---|---|
| 公开版本 | 1.1 |
| 训练初始化 | 随机初始化;未加载旧策略权重 |
| 架构 | 前馈 CNN,包含中心窗口读出、动作头和跳跃距离头 |
| 输入 | 与追踪方向对齐的 128 × 128 裁剪,共六通道 |
| 通道 | RGB(三通道)、历史路径、候选出口热图、目标跳线实例掩膜 |
| 动作输出 | 32 个相对方向桶,以及跳跃和停止动作 |
| 跳跃距离输出 | 由追踪控制器用于确定跳跃距离的标量 |
| 参数量 | 1,070,851 |
model.pt SHA-256 |
9f72506a3b57c0cf1f273c925a867ef3f98768c318753e446fe0e07c8167092f |
| 许可证 | AGPL-3.0 |
CNN 依次经过三个步长为 2 的卷积块和一个空洞卷积块,从特征图中心 5 × 5 区域读出特征,再由动作头与跳跃距离头分别预测。BreadTopo 使用 BC checkpoint loader 和追踪适配器加载该模型,不使用 Ultralytics YOLO 类加载。
训练数据与过程
模型使用公开 jumper-tracing 数据集中的合成跳线轨迹和实例掩膜,从随机初始化开始训练。训练输入合并 train 与 val 索引,并将数据集 test 划分留作最终评测。
记录的训练配方为 4 轮、batch 256、学习率 0.0003、1 轮 warmup、随机种子 2、32 个方向桶和中心窗口 5。训练增广包括 20% 身份通道置零、25% 局部身份掩膜缺口、困难交叉样本、10% 路径通道丢弃和幅度 0.06 的颜色抖动。最终用于 1.1 评测的 checkpoint 在 test 评测前固定为第 3 轮。记录的训练设备为 Intel XPU。
训练指南提供对应命令。命令不传 --init-weights,因此从随机初始化开始。不同设备和软件版本的重训可能产生不同权重。
评估
冻结合成测试集
严格孔对评测使用 94 张合成图、真值板面孔位、预测端点和预测实例掩膜。
| 指标 | 结果 |
|---|---|
| 严格孔对精确率 | 0.9222 |
| 严格孔对召回率 | 0.6354 |
| 严格孔对 F1 | 0.7524 |
| 整图孔对集合完全一致 | 47/94(50.00%) |
- 划分:冻结合成 test,共 94 张;split SHA-256:
cd71f463018b2f1a757868e91ef45b31f2ffd72b27339dfaeef9d2f40601e242 - 评测设置包括 CPU 推理、图像尺寸 960、置信度 0.25、配对阈值 −0.8、到达距离 8 px、最多 400 步和两个候选方向。
- 两个孔号都与同一真值孔对匹配才算正确;整图完全正确要求完整预测孔对集合与真值一致。
- 该结果使用真值板面孔位和预测端点、掩膜作为输入。它不是策略单独的准确率,也不能代表实拍端到端保证。
与 1.0 的配对比较
在相同冻结测试图和评测协议下,1.0 的严格孔对 F1 为 0.7771。1.1 相对 1.0 的观测差值为 −2.47 个百分点。按图像进行 100,000 次配对非参数 bootstrap、每次重算 micro F1,随机种子为 20261202,差值 95% 区间为 −5.42 至 +0.45 个百分点。区间包含零,反映这些图像的抽样不确定性,不包含训练种子之间的波动。
此发行版没有报告独立实拍测试结果。模型使用合成场景训练,端点、板面映射和掩膜误差都可能影响追踪结果。
使用与限制
请通过 BreadTopo 的 BC loader 和追踪控制器,并结合端点 pose 与实例分割模型使用。控制器参数和辅助模型也会影响推理结果;修改它们可能改变孔对。遮挡、密集交叉、近似线色及相机或光照差异可能造成漏配或误配。将结果用于电路分析前请人工检查。