transformers
Use canonical get_size_with_aspect_ratio (with max_size) from transformers.image_transforms to fix #37939
#41284
Merged

Use canonical get_size_with_aspect_ratio (with max_size) from transformers.image_transforms to fix #37939 #41284

sonianuj287
Rocketknight1
sonianuj287 sonianuj287 force pushed from 902ad417 to d6ad5b4f 1 year ago
molbap
molbap approved these changes on 2025-10-02
sonianuj287
yonigozlan
yonigozlan commented on 2025-10-03
yonigozlan
sonianuj287
sonianuj287
sonianuj287 Use canonical get_size_with_aspect_ratio (with max_size) from transfo…
1158fd28
sonianuj287 sonianuj287 force pushed from 7430aa68 to d6ad5b4f 1 year ago
sonianuj287 Fix import sorting/style
12094891
sonianuj287 sonianuj287 force pushed from d6ad5b4f to e05375ee 1 year ago
sonianuj287 sonianuj287 force pushed from e05375ee to c1869035 1 year ago
sonianuj287 Fix import order
b66368b5
sonianuj287 sonianuj287 force pushed from c1869035 to b66368b5 1 year ago
sonianuj287
sonianuj287 sonianuj287 requested a review from yonigozlan yonigozlan 1 year ago
sonianuj287
yonigozlan
yonigozlan
yonigozlan commented on 2025-10-03
sonianuj287 Refactor: use canonical get_size_with_aspect_ratio across image proce…
8bfd7650
sonianuj287 sonianuj287 force pushed from d5c7f1e6 to 8bfd7650 1 year ago
sonianuj287 sonianuj287 force pushed from 4b94897a to 8bfd7650 1 year ago
sonianuj287
sonianuj287 ruff fixes
76ef2e8b
sonianuj287 sonianuj287 force pushed from 91ae4265 to 76ef2e8b 1 year ago
sonianuj287 Fix check_copies.py references for get_size_with_aspect_ratio to use …
cc941b86
sonianuj287 sonianuj287 force pushed from 3a213f27 to cc941b86 1 year ago
sonianuj287 Merge branch 'main' into fix-conditionaldetr-remove-maxsize
32b21374
sonianuj287
yonigozlan Merge branch 'main' into fix-conditionaldetr-remove-maxsize
0470b97b
yonigozlan
yonigozlan approved these changes on 2025-10-06
github-actions
HuggingFaceDocBuilderDev
yonigozlan yonigozlan merged 297a41a6 into main 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone