Add Fast Image Processor for ImageGPT #39592
initial commit
aea65470
initial setup
d49fa73a
Overiding imageGPT specific functions
aead2217
imported is_torch_available and utilized it for importing torch in im…
dc1b1910
Created init and ImageGPTFastImageProcessorKwargs
daedee9a
added return_tensors, data_format, and input_data_format to ImageGPTF…
8608e19e
set up arguments and process and _preprocess definitions
b7723560
Added arguments to _preprocess
9e80e0ac
Added additional optional arguments
f9f3ad8c
Copied logic over from base imageGPT processor
870cd9ad
Implemented 2nd draft of fast imageGPT preprocess using batch processing
3604c7a1
Implemented 3rd draft of imageGPT fast _preprocessor. Pulled logic fr…
fd5c1362
modified imageGPT test file to properly run fast processor tests
ec1681bc
converts images to torch.float32 from torch.unit8
432e8f3b
fixed a typo with self.image_processor_list in the imagegpt test file
040678c8
updated more instances of image_processing = self.image_processing_cl…
6e0c6703
standardized normalization to not use image mean or std
a020d5fc
Merged changes from solution2 branch
56b3546e
Merged changes from solution2 test file
0b21bff9
fixed testing through baseImageGPT processor file
e98d5faa
Fixed check_code_quality test. Removed unncessary list comprehension.
f3b0a8c8
reorganized imports in image_processing_imagegpt_fast
43c61716
Merge branch 'main' into fastimage-imagegpt
178b2c01
formatted image_processing_imagegpt_fast.py
5bb6d5ae
Added arg documentation
e575ba74
Added FastImageProcessorKwargs class + Docs for new kwargs
25bd8ac4
Reformatted previous
ff893539
Added F to normalization
a1b2e7f6
fixed ruff linting and cleaned up fast processor file
cd4d0637
Merge branch 'huggingface:main' into fastimage-imagegpt
6b8458cf
Merge branch 'main' into fastimage-imagegpt
0b4af99d
agamjots05
marked this pull request as ready for review 128 days ago
implemented requested changes
1315a98c
fixed ruff checks
0f34fd1b
fixed formatting issues
4f343935
Merge branch 'main' into fastimage-imagegpt
b382d096
fix(ruff after merging main)
898a8076
Merge remote-tracking branch 'upstream/main' into fastimage-imagegpt
24f21c40
simplify logic and reuse standard equivalenec tests
f3815ce1
yonigozlan
enabled auto-merge (squash) 106 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub