transformers
Refactoring of ImageProcessorFast
#35069
Merged

Refactoring of ImageProcessorFast #35069

yonigozlan
HuggingFaceDocBuilderDev
yonigozlan yonigozlan force pushed 1 year ago
yonigozlan
yonigozlan commented on 2024-12-09
yonigozlan
yonigozlan commented on 2024-12-09
yonigozlan
qubvel
qubvel commented on 2024-12-11
yonigozlan
yonigozlan yonigozlan force pushed 1 year ago
zucchini-nlp
zucchini-nlp commented on 2024-12-11
yonigozlan yonigozlan force pushed 1 year ago
yonigozlan
qubvel
qubvel commented on 2024-12-18
yonigozlan
yonigozlan yonigozlan changed the title [WIP] Refactoring of ImageProcessorFast Refactoring of ImageProcessorFast 349 days ago
yonigozlan yonigozlan requested a review from ArthurZucker ArthurZucker 349 days ago
yonigozlan add init and base image processing functions
2f00f0c5
yonigozlan add add_fast_image_processor to transformers-cli
cfadb728
yonigozlan add working fast image processor clip
2cd73cbc
yonigozlan add fast image processor to doc, working tests
932bd688
yonigozlan remove "to be implemented" SigLip
23d79cee
yonigozlan fix unprotected import
3f2d8a61
yonigozlan fix unprotected vision import
6a9d3321
yonigozlan update ViTImageProcessorFast
a1e2663d
yonigozlan increase threshold slow fast ewuivalence
fa74e7e8
yonigozlan add fast img blip
9dbd7653
yonigozlan add fast class in tests with cli
d39ff521
yonigozlan improve cli
f609730a
yonigozlan add fast image processor convnext
8f7774d9
yonigozlan add LlavaPatchingMixin and fast image processor for llava_next and ll…
809e1f0c
yonigozlan add device kwarg to ImagesKwargs for fast processing on cuda
f6e6cc2d
yonigozlan cleanup
e1ce1483
yonigozlan fix unprotected import
a24d89cd
yonigozlan group images by sizes and add batch processing
522e200b
yonigozlan Add batch equivalence tests, skip when center_crop is used
deefc5a8
yonigozlan cleanup
6a2478eb
yonigozlan update init and cli
7d76305d
yonigozlan fix-copies
142ed250
yonigozlan refactor convnext, cleanup base
75bf56f7
yonigozlan fix
de1fa180
yonigozlan remove patching mixins, add piped torchvision transforms for ViT
2ffc41d8
yonigozlan fix unbatched processing
b524406f
yonigozlan fix f strings
9c2e2a49
yonigozlan protect imports
8c773e06
yonigozlan change llava onevision to class transforms (test)
90fceba6
yonigozlan fix convnext
e878bddd
yonigozlan improve formatting (following Pavel review)
57acb7e5
yonigozlan fix handling device arg
2a25104a
yonigozlan improve cli
4784fc89
yonigozlan fix
3ccd2917
yonigozlan fix inits
053cdcbb
yonigozlan yonigozlan force pushed to 053cdcbb 339 days ago
yonigozlan yonigozlan requested a review from Rocketknight1 Rocketknight1 339 days ago
yonigozlan yonigozlan requested a review from molbap molbap 339 days ago
yonigozlan yonigozlan requested a review from stevhliu stevhliu 339 days ago
yonigozlan
ArthurZucker
ArthurZucker
ArthurZucker commented on 2025-01-17
yonigozlan Merge remote-tracking branch 'upstream/main' into improve-fast-image-…
1b45e6ef
yonigozlan Add distinction between preprocess and _preprocess, and support for a…
92469453
yonigozlan uniformize qwen2_vl fast
6ccd2307
yonigozlan fix docstrings
c4b83894
yonigozlan add add fast image processor llava
e5c1e011
yonigozlan remove min_pixels max_pixels from accepted size
aef2fb4b
yonigozlan nit
7078a14e
yonigozlan nit
aa94873d
yonigozlan
yonigozlan yonigozlan removed review request from stevhliu stevhliu 333 days ago
yonigozlan refactor fast image processors docstrings
13a125b8
yonigozlan Merge remote-tracking branch 'upstream/main' into improve-fast-image-…
8adb8936
yonigozlan cleanup and remove fast class transforms
67d65f23
yonigozlan update add fast image processor transformers cli
d2254486
yonigozlan cleanup docstring
80c68247
ArthurZucker
ArthurZucker approved these changes on 2025-01-27
yonigozlan Merge remote-tracking branch 'upstream/main' into improve-fast-image-…
b96adfa7
yonigozlan uniformize pixtral fast and make _process_image explicit
dbaacd15
yonigozlan Merge remote-tracking branch 'upstream/main' into improve-fast-image-…
b660e9d5
yonigozlan fix prepare image structure llava next/onevision
b43ede1a
yonigozlan
yonigozlan Use typed kwargs instead of explicit args
3b05cbd1
yonigozlan nit fix import Unpack
95db4a90
yonigozlan Merge branch 'main' into improve-fast-image-processor-base
d9e1fcdf
ArthurZucker
ArthurZucker commented on 2025-02-04
yonigozlan clearly separate pops and gets in base preprocess. Use explicit typed…
6bd7a1ba
yonigozlan Merge branch 'main' into improve-fast-image-processor-base
565e4824
yonigozlan make qwen2_vl preprocess arguments hashable
f85c06fe
yonigozlan Merge branch 'improve-fast-image-processor-base' of https://github.co…
1a7b0c40
yonigozlan yonigozlan merged fa56dcc2 into main 320 days ago
ArthurZucker
ArthurZucker commented on 2025-02-10
ArthurZucker
ArthurZucker commented on 2025-02-10
SangbumChoi
SangbumChoi commented on 2025-02-27

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone