diff --git a/tests/models/beit/test_feature_extraction_beit.py b/tests/models/beit/test_image_processing_beit.py similarity index 100% rename from tests/models/beit/test_feature_extraction_beit.py rename to tests/models/beit/test_image_processing_beit.py diff --git a/tests/models/chinese_clip/test_feature_extraction_chinese_clip.py b/tests/models/chinese_clip/test_image_processing_chinese_clip.py similarity index 100% rename from tests/models/chinese_clip/test_feature_extraction_chinese_clip.py rename to tests/models/chinese_clip/test_image_processing_chinese_clip.py diff --git a/tests/models/clip/test_feature_extraction_clip.py b/tests/models/clip/test_image_processing_clip.py similarity index 100% rename from tests/models/clip/test_feature_extraction_clip.py rename to tests/models/clip/test_image_processing_clip.py diff --git a/tests/models/conditional_detr/test_feature_extraction_conditional_detr.py b/tests/models/conditional_detr/test_image_processing_conditional_detr.py similarity index 100% rename from tests/models/conditional_detr/test_feature_extraction_conditional_detr.py rename to tests/models/conditional_detr/test_image_processing_conditional_detr.py diff --git a/tests/models/convnext/test_feature_extraction_convnext.py b/tests/models/convnext/test_image_processing_convnext.py similarity index 100% rename from tests/models/convnext/test_feature_extraction_convnext.py rename to tests/models/convnext/test_image_processing_convnext.py diff --git a/tests/models/deformable_detr/test_feature_extraction_deformable_detr.py b/tests/models/deformable_detr/test_image_processing_deformable_detr.py similarity index 100% rename from tests/models/deformable_detr/test_feature_extraction_deformable_detr.py rename to tests/models/deformable_detr/test_image_processing_deformable_detr.py diff --git a/tests/models/deit/test_feature_extraction_deit.py b/tests/models/deit/test_image_processing_deit.py similarity index 100% rename from tests/models/deit/test_feature_extraction_deit.py rename to tests/models/deit/test_image_processing_deit.py diff --git a/tests/models/detr/test_feature_extraction_detr.py b/tests/models/detr/test_image_processing_detr.py similarity index 100% rename from tests/models/detr/test_feature_extraction_detr.py rename to tests/models/detr/test_image_processing_detr.py diff --git a/tests/models/donut/test_feature_extraction_donut.py b/tests/models/donut/test_image_processing_donut.py similarity index 100% rename from tests/models/donut/test_feature_extraction_donut.py rename to tests/models/donut/test_image_processing_donut.py diff --git a/tests/models/dpt/test_feature_extraction_dpt.py b/tests/models/dpt/test_image_processing_dpt.py similarity index 100% rename from tests/models/dpt/test_feature_extraction_dpt.py rename to tests/models/dpt/test_image_processing_dpt.py diff --git a/tests/models/flava/test_feature_extraction_flava.py b/tests/models/flava/test_image_processing_flava.py similarity index 100% rename from tests/models/flava/test_feature_extraction_flava.py rename to tests/models/flava/test_image_processing_flava.py diff --git a/tests/models/imagegpt/test_feature_extraction_imagegpt.py b/tests/models/imagegpt/test_image_processing_imagegpt.py similarity index 100% rename from tests/models/imagegpt/test_feature_extraction_imagegpt.py rename to tests/models/imagegpt/test_image_processing_imagegpt.py diff --git a/tests/models/layoutlmv2/test_feature_extraction_layoutlmv2.py b/tests/models/layoutlmv2/test_image_processing_layoutlmv2.py similarity index 100% rename from tests/models/layoutlmv2/test_feature_extraction_layoutlmv2.py rename to tests/models/layoutlmv2/test_image_processing_layoutlmv2.py diff --git a/tests/models/layoutlmv3/test_feature_extraction_layoutlmv3.py b/tests/models/layoutlmv3/test_image_processing_layoutlmv3.py similarity index 100% rename from tests/models/layoutlmv3/test_feature_extraction_layoutlmv3.py rename to tests/models/layoutlmv3/test_image_processing_layoutlmv3.py diff --git a/tests/models/levit/test_feature_extraction_levit.py b/tests/models/levit/test_image_processing_levit.py similarity index 100% rename from tests/models/levit/test_feature_extraction_levit.py rename to tests/models/levit/test_image_processing_levit.py diff --git a/tests/models/maskformer/test_feature_extraction_maskformer.py b/tests/models/maskformer/test_image_processing_maskformer.py similarity index 100% rename from tests/models/maskformer/test_feature_extraction_maskformer.py rename to tests/models/maskformer/test_image_processing_maskformer.py diff --git a/tests/models/mobilenet_v1/test_feature_extraction_mobilenet_v1.py b/tests/models/mobilenet_v1/test_image_processing_mobilenet_v1.py similarity index 100% rename from tests/models/mobilenet_v1/test_feature_extraction_mobilenet_v1.py rename to tests/models/mobilenet_v1/test_image_processing_mobilenet_v1.py diff --git a/tests/models/mobilenet_v2/test_feature_extraction_mobilenet_v2.py b/tests/models/mobilenet_v2/test_image_processing_mobilenet_v2.py similarity index 100% rename from tests/models/mobilenet_v2/test_feature_extraction_mobilenet_v2.py rename to tests/models/mobilenet_v2/test_image_processing_mobilenet_v2.py diff --git a/tests/models/mobilevit/test_feature_extraction_mobilevit.py b/tests/models/mobilevit/test_image_processing_mobilevit.py similarity index 100% rename from tests/models/mobilevit/test_feature_extraction_mobilevit.py rename to tests/models/mobilevit/test_image_processing_mobilevit.py diff --git a/tests/models/owlvit/test_feature_extraction_owlvit.py b/tests/models/owlvit/test_image_processing_owlvit.py similarity index 100% rename from tests/models/owlvit/test_feature_extraction_owlvit.py rename to tests/models/owlvit/test_image_processing_owlvit.py diff --git a/tests/models/poolformer/test_feature_extraction_poolformer.py b/tests/models/poolformer/test_image_processing_poolformer.py similarity index 100% rename from tests/models/poolformer/test_feature_extraction_poolformer.py rename to tests/models/poolformer/test_image_processing_poolformer.py diff --git a/tests/models/segformer/test_feature_extraction_segformer.py b/tests/models/segformer/test_image_processing_segformer.py similarity index 100% rename from tests/models/segformer/test_feature_extraction_segformer.py rename to tests/models/segformer/test_image_processing_segformer.py diff --git a/tests/models/videomae/test_feature_extraction_videomae.py b/tests/models/videomae/test_image_processing_videomae.py similarity index 100% rename from tests/models/videomae/test_feature_extraction_videomae.py rename to tests/models/videomae/test_image_processing_videomae.py diff --git a/tests/models/vilt/test_feature_extraction_vilt.py b/tests/models/vilt/test_image_processing_vilt.py similarity index 100% rename from tests/models/vilt/test_feature_extraction_vilt.py rename to tests/models/vilt/test_image_processing_vilt.py diff --git a/tests/models/vit/test_feature_extraction_vit.py b/tests/models/vit/test_image_processing_vit.py similarity index 100% rename from tests/models/vit/test_feature_extraction_vit.py rename to tests/models/vit/test_image_processing_vit.py diff --git a/tests/models/yolos/test_feature_extraction_yolos.py b/tests/models/yolos/test_image_processing_yolos.py similarity index 100% rename from tests/models/yolos/test_feature_extraction_yolos.py rename to tests/models/yolos/test_image_processing_yolos.py diff --git a/tests/utils/test_add_new_model_like.py b/tests/utils/test_add_new_model_like.py index 856523d19c..55782d287f 100644 --- a/tests/utils/test_add_new_model_like.py +++ b/tests/utils/test_add_new_model_like.py @@ -499,7 +499,7 @@ NEW_BERT_CONSTANT = "value" test_files = {str(Path(f).relative_to(REPO_PATH)) for f in vit_files["test_files"]} vit_test_files = { - "tests/models/vit/test_feature_extraction_vit.py", + "tests/models/vit/test_image_processing_vit.py", "tests/models/vit/test_modeling_vit.py", "tests/models/vit/test_modeling_tf_vit.py", "tests/models/vit/test_modeling_flax_vit.py", @@ -566,7 +566,7 @@ NEW_BERT_CONSTANT = "value" test_files = {str(Path(f).relative_to(REPO_PATH)) for f in vit_files["test_files"]} vit_test_files = { - "tests/models/vit/test_feature_extraction_vit.py", + "tests/models/vit/test_image_processing_vit.py", "tests/models/vit/test_modeling_vit.py", } self.assertEqual(test_files, vit_test_files) @@ -628,7 +628,7 @@ NEW_BERT_CONSTANT = "value" test_files = {str(Path(f).relative_to(REPO_PATH)) for f in vit_files["test_files"]} vit_test_files = { - "tests/models/vit/test_feature_extraction_vit.py", + "tests/models/vit/test_image_processing_vit.py", "tests/models/vit/test_modeling_tf_vit.py", "tests/models/vit/test_modeling_flax_vit.py", } @@ -798,7 +798,7 @@ NEW_BERT_CONSTANT = "value" test_files = {str(Path(f).relative_to(REPO_PATH)) for f in all_vit_files["test_files"]} vit_test_files = { - "tests/models/vit/test_feature_extraction_vit.py", + "tests/models/vit/test_image_processing_vit.py", "tests/models/vit/test_modeling_vit.py", "tests/models/vit/test_modeling_tf_vit.py", "tests/models/vit/test_modeling_flax_vit.py",