transformers/tests
LeviVasconcelos 576cd45a57
Add image to image pipeline (#25393)
* Add image to image pipeline

Add image to image pipeline

* remove swin2sr from tf auto

* make ImageToImage importable

* make style

make style

make style

make style

* remove tf support

* remove nonused imports

* fix postprocessing

* add important comments; add unit tests

* add documentation

* remove support for TF

* make fixup

* fix typehint Image.Image

* fix documentation code

* address review request; fix unittest type checking

* address review request; fix unittest type checking

* make fixup

* address reviews

* Update src/transformers/pipelines/image_to_image.py

Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com>

* enhance docs

* make style

* make style

* improve docetest time

* improve docetest time

* Update tests/pipelines/test_pipelines_image_to_image.py

Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>

* Update tests/pipelines/test_pipelines_image_to_image.py

Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>

* make fixup

* undo faulty merge

* undo faulty merge

* add image-to-image to test pipeline mixin

* Update src/transformers/pipelines/image_to_image.py

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* Update tests/pipelines/test_pipelines_image_to_image.py

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* improve docs

---------

Co-authored-by: NielsRogge <48327001+NielsRogge@users.noreply.github.com>
Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
2023-09-22 19:53:55 +03:00
..
benchmark
bettertransformer
deepspeed fix the deepspeed tests (#26021) 2023-09-13 10:26:53 +05:30
extended
fixtures
fsdp fix name error when accelerate is not available (#26278) 2023-09-20 08:02:55 +02:00
generation Fix beam search when using model parallel (#24969) 2023-09-14 11:00:52 -04:00
models [core ] Integrate Flash attention 2 in most used models (#25598) 2023-09-22 17:42:10 +02:00
optimization
peft_integration [PEFT] Allow PEFT model dict to be loaded (#25721) 2023-09-15 18:22:01 +02:00
pipelines Add image to image pipeline (#25393) 2023-09-22 19:53:55 +03:00
quantization [RWKV] Final fix RWMV 4bit (#26134) 2023-09-13 16:30:20 +02:00
repo_utils Document check copies (#25291) 2023-08-04 14:56:29 +02:00
sagemaker
tokenization 🚨🚨 🚨🚨 [Tokenizer] attemp to fix add_token issues🚨🚨 🚨🚨 (#23909) 2023-09-18 20:28:36 +02:00
tools
trainer enable optuna multi-objectives feature (#25969) 2023-09-12 18:01:22 +01:00
utils Porting the torchaudio kaldi fbank implementation to audio_utils (#26182) 2023-09-21 17:52:47 +02:00
__init__.py
test_backbone_common.py [AutoBackbone] Add test (#26094) 2023-09-18 23:47:54 +02:00
test_configuration_common.py Deal with nested configs better in base class (#25237) 2023-08-04 14:56:09 +02:00
test_configuration_utils.py Deal with nested configs better in base class (#25237) 2023-08-04 14:56:09 +02:00
test_feature_extraction_common.py
test_feature_extraction_utils.py
test_image_processing_common.py Input data format (#25464) 2023-08-16 17:45:02 +01:00
test_image_processing_utils.py Run hub tests (#24807) 2023-07-13 15:25:45 -04:00
test_image_transforms.py Add input_data_format argument, image transforms (#25462) 2023-08-11 15:09:31 +01:00
test_modeling_common.py [core ] Integrate Flash attention 2 in most used models (#25598) 2023-09-22 17:42:10 +02:00
test_modeling_flax_common.py
test_modeling_flax_utils.py
test_modeling_tf_common.py Skip test_onnx_runtime_optimize for now (#25560) 2023-08-17 11:23:16 +02:00
test_modeling_tf_utils.py
test_modeling_utils.py Skip warning if tracing with dynamo (#25581) 2023-09-08 21:13:33 +02:00
test_pipeline_mixin.py Add image to image pipeline (#25393) 2023-09-22 19:53:55 +03:00
test_sequence_feature_extraction_common.py Fix typo (#25966) 2023-09-05 10:12:25 +02:00
test_tokenization_common.py 🚨🚨 🚨🚨 [Tokenizer] attemp to fix add_token issues🚨🚨 🚨🚨 (#23909) 2023-09-18 20:28:36 +02:00
test_tokenization_utils.py