Description
At the __init__
method of ConditionalDetrImageProcessor file, we still accept the deprecated parameter, max_size
:
if "max_size" in kwargs:
logger.warning_once(
"The `max_size` parameter is deprecated and will be removed in v4.26. "
"Please specify in `size['longest_edge'] instead`.",
)
max_size = kwargs.pop("max_size")
else:
max_size = None if size is None else 1333
But the version of transformers
is already 4.52.0.dev0
(from src/transformers/__init__.py
).
ConditionalDetrImageProcessorFast
also suffers the same issue.
We should remove the parameter, no?
cc: @amyeroberts, @qubvel