fix: suppress normal pseudo boxes in classifier exports
This commit is contained in:
@@ -826,7 +826,10 @@ uv run python scripts/export_classifier_openvino.py \
|
||||
部署时成对替换 XML/BIN;使用元数据的程序也需同步 `metadata.yaml`。
|
||||
仓库的 `deploy/cpp` 解码器可直接读取适配模型,生产代码若有额外硬编码则需核对。
|
||||
Softmax 分数不同于 YOLO 置信度,需在实际数据上确认过滤阈值。
|
||||
`normal` 也作为普通分类结果返回;原图被切成多片时,每片各返回一个分类结果。
|
||||
默认 top1 为 `normal` 时,所有候选类别分数清零,C++ 在正数置信度阈值下返回空列表,
|
||||
与 YOLO 的背景行为一致。类别编号保持不变,`normal` 仍占其原通道。
|
||||
用 `--background-class` 指定其他背景类别,或 `--keep-background-box` 恢复普通分类输出。
|
||||
原图被切成多片时,每片独立分类,仅前景片返回伪框。
|
||||
输出目录必须是新目录,原有模型不会被覆盖。
|
||||
|
||||
## 开发
|
||||
|
||||
Reference in New Issue
Block a user