Unverified Commit fd56f7f0 authored by Rafael Padilla's avatar Rafael Padilla Committed by GitHub
Browse files

removing unnecesssary extra parameter (#25643)

parent e20fab0b
......@@ -1314,9 +1314,7 @@ class ConditionalDetrImageProcessor(BaseImageProcessor):
]
if annotations is not None:
annotations = [
self.normalize_annotation(
annotation, get_image_size(image, input_data_format), input_data_format=input_data_format
)
self.normalize_annotation(annotation, get_image_size(image, input_data_format))
for annotation, image in zip(annotations, images)
]
......
......@@ -1312,9 +1312,7 @@ class DeformableDetrImageProcessor(BaseImageProcessor):
]
if annotations is not None:
annotations = [
self.normalize_annotation(
annotation, get_image_size(image, input_data_format), input_data_format=input_data_format
)
self.normalize_annotation(annotation, get_image_size(image, input_data_format))
for annotation, image in zip(annotations, images)
]
......
......@@ -1284,9 +1284,7 @@ class DetrImageProcessor(BaseImageProcessor):
]
if annotations is not None:
annotations = [
self.normalize_annotation(
annotation, get_image_size(image, input_data_format), input_data_format=input_data_format
)
self.normalize_annotation(annotation, get_image_size(image, input_data_format))
for annotation, image in zip(annotations, images)
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment