未验证 提交 f89d9089 编写于 作者: H HydrogenSulfate 提交者: GitHub

Update predict_det.py

删除冗余代码
上级 5f931369
......@@ -128,7 +128,6 @@ class DetPredictor(Predictor):
results = []
if reduce(lambda x, y: x * y, np_boxes.shape) < 6:
print('[WARNNING] No object detected.')
results = []
else:
results = self.parse_det_results(
np_boxes, self.config["Global"]["threshold"],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册