Pablo Montalvo
413008c580
add uniform processors for altclip + chinese_clip (#31198)
* add initial design for uniform processors + align model
* add uniform processors for altclip + chinese_clip
* fix mutable default 👀
* add configuration test
* handle structured kwargs w defaults + add test
* protect torch-specific test
* fix style
* fix
* rebase
* update processor to generic kwargs + test
* fix style
* add sensible kwargs merge
* update test
* fix assertEqual
* move kwargs merging to processing common
* rework kwargs for type hinting
* just get Unpack from extensions
* run-slow[align]
* handle kwargs passed as nested dict
* add from_pretrained test for nested kwargs handling
* [run-slow]align
* update documentation + imports
* update audio inputs
* protect audio types, silly
* try removing imports
* make things simpler
* simplerer
* move out kwargs test to common mixin
* [run-slow]align
* skip tests for old processors
* [run-slow]align, clip
* !$#@!! protect imports, darn it
* [run-slow]align, clip
* [run-slow]align, clip
* update common processor testing
* add altclip
* add chinese_clip
* add pad_size
* [run-slow]align, clip, chinese_clip, altclip
* remove duplicated tests
* fix
* update doc
* improve documentation for default values
* add model_max_length testing
This parameter depends on tokenizers received.
* Raise if kwargs are specified in two places
* fix
* match defaults
* force padding
* fix tokenizer test
* clean defaults
* move tests to common
* remove try/catch block
* deprecate kwarg
* format
* add copyright + remove unused method
* [run-slow]altclip, chinese_clip
* clean imports
* fix version
* clean up deprecation
* fix style
* add corner case test on kwarg overlap
* resume processing - add Unpack as importable
* add tmpdirname
* fix altclip
* fix up
* add back crop_size to specific tests
* generalize tests to possible video_processor
* add back crop_size arg
* fixup overlapping kwargs test for qformer_tokenizer
* remove copied from
* fixup chinese_clip tests values
* fixup tests - qformer tokenizers
* [run-slow] altclip, chinese_clip
* remove prepare_image_inputs
2024-09-19 17:21:54 +02:00
..
2024-09-18 11:07:51 +02:00
2022-02-23 15:46:28 -05:00
2023-10-09 11:04:57 +02:00
2024-08-16 12:35:41 -04:00
2024-06-26 21:59:08 +01:00
2024-03-19 14:43:02 +00:00
2024-08-20 11:42:36 +02:00
2024-09-19 12:04:24 +02:00
2024-09-19 17:21:54 +02:00
2024-07-11 12:11:50 +01:00
2024-02-29 03:56:16 +01:00
2024-09-18 15:43:06 +01:00
2024-09-11 13:26:44 +02:00
2024-08-30 18:17:25 +02:00
2024-07-17 10:56:44 +01:00
2024-09-18 12:32:02 +02:00
2024-09-17 23:11:32 +02:00
2024-09-18 15:43:06 +01:00
2023-12-20 18:33:17 +00:00
2024-07-26 10:33:02 +02:00
2023-06-15 07:30:24 -04:00
2024-08-06 11:33:05 +01:00
2024-05-21 13:56:52 +01:00
2024-09-19 12:04:24 +02:00
2024-05-16 10:56:11 +01:00
2024-05-13 15:59:46 +01:00
2024-09-04 12:03:30 +01:00
2024-09-19 17:21:54 +02:00
2023-09-05 10:12:25 +02:00
2024-09-13 11:58:38 +01:00