提交 ff01811c 编写于 作者: weixin_46524038's avatar weixin_46524038 提交者: cuicheng01

modify

上级 de4d035b
...@@ -86,7 +86,7 @@ python3 tools/infer.py \ ...@@ -86,7 +86,7 @@ python3 tools/infer.py \
* 默认是对 `deploy/images/practical/watermark_exists/watermark_example.png` 进行预测,此处也可以通过增加字段 `-o Infer.infer_imgs=xxx` 对其他图片预测。 * 默认是对 `deploy/images/practical/watermark_exists/watermark_example.png` 进行预测,此处也可以通过增加字段 `-o Infer.infer_imgs=xxx` 对其他图片预测。
* 二分类默认的阈值为0.5, 如果需要指定阈值,可以使用 `-o Infer.PostProcess.threshold=0.99` 命令修改 * 二分类默认的阈值为0.5, 如果需要指定阈值,可以重改 `Infer.PostProcess.threshold`
<a name="3.1.2"></a> <a name="3.1.2"></a>
...@@ -148,4 +148,4 @@ python3 python/predict_cls.py -c ./configs/practical_models/watermark_exists/inf ...@@ -148,4 +148,4 @@ python3 python/predict_cls.py -c ./configs/practical_models/watermark_exists/inf
watermark_example.png: class id(s): [0], score(s): [0.97], label_name(s): ['contains_watermark'] watermark_example.png: class id(s): [0], score(s): [0.97], label_name(s): ['contains_watermark']
``` ```
**备注:** 二分类默认的阈值为0.5, 如果需要指定阈值,可以使用 `-o PostProcess.ThreshOutput.threshold=0.99` 命令修改 **备注:** 二分类默认的阈值为0.5, 如果需要指定阈值,可以重改 `PostProcess.ThreshOutput.threshold`
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册