Skip to content

Commit 81408e5

Browse files
committed
Fix for black formatting
Signed-off-by: Kieran Fraser <[email protected]>
1 parent 84c9e2b commit 81408e5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

art/estimators/object_detection/pytorch_detection_transformer.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,7 @@ def _get_losses(
298298
else:
299299
y_tensor = y # type: ignore
300300

301-
x_preprocessed, y_preprocessed = self._apply_preprocessing(
302-
x, y=y_tensor, fit=False, no_grad=True
303-
)
301+
x_preprocessed, y_preprocessed = self._apply_preprocessing(x, y=y_tensor, fit=False, no_grad=True)
304302

305303
if self.clip_values is not None:
306304
norm_factor = self.clip_values[1]

0 commit comments

Comments
 (0)