Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove deprecated max_size support from YOLOS image processor#38923

Open
kartickkt wants to merge 5 commits into
huggingface:mainfrom
kartickkt:remove-max-size
Open

Remove deprecated max_size support from YOLOS image processor#38923
kartickkt wants to merge 5 commits into
huggingface:mainfrom
kartickkt:remove-max-size

Conversation

@kartickkt

Copy link
Copy Markdown
  • Updated test_image_processor_from_dict_with_kwargs to remove the deprecated max_size argument.
  • Uses only {"shortest_edge": ...} in size, consistent with current API.
  • Ensures compatibility with the latest image processor spec.

Before submitting

All tests passed locally using pytest tests/models/yolos/test_image_processing_yolos.py.

@kartickkt

Copy link
Copy Markdown
Author

All checks have passed.
Branch is now up-to-date. Ready for review.
Happy to help further if needed!

@Rocketknight1

Rocketknight1 commented Jun 20, 2025

Copy link
Copy Markdown
Member

cc @qubvel @yonigozlan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants