mirror of
https://github.com/Refound-445/nonebot-plugin-nailongremove.git
synced 2025-11-04 21:22:43 +08:00
up
This commit is contained in:
parent
e36146ace5
commit
f64105bd3e
@ -77,7 +77,7 @@ def check_image(image: np.ndarray) -> "CheckResult":
|
||||
has = any(
|
||||
True
|
||||
for c, s in zip(final_cls_inds, final_scores)
|
||||
if c == 1 and s >= config.nailong_model1_score
|
||||
if labels[c] == "nailong" and s >= config.nailong_model1_score
|
||||
)
|
||||
if has:
|
||||
image = vis(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user