Enable Ruff B905 (#114197)

This commit is contained in:
Sid
2024-04-14 07:14:26 +02:00
committed by GitHub
parent b70edb89bf
commit 3799d20d43
46 changed files with 116 additions and 79 deletions

View File

@ -376,7 +376,7 @@ class TensorFlowImageProcessor(ImageProcessingEntity):
matches = {}
total_matches = 0
for box, score, obj_class in zip(boxes, scores, classes):
for box, score, obj_class in zip(boxes, scores, classes, strict=False):
score = score * 100
boxes = box.tolist()