Fix import paths for test_module (#32888)

* Fix import path for test_feature_extraction_utils.py

See https://github.com/huggingface/transformers/pull/32601

* Fix import path for test_image_processing_utils.py
This commit is contained in:
rasmi
2024-08-28 07:08:29 -04:00
committed by GitHub
parent f1a385b1de
commit f9ed05dd03
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ from transformers.image_processing_utils import get_size_dict
from transformers.testing_utils import TOKEN, USER, get_tests_dir, is_staging_test
sys.path.append(str(Path(__file__).parent.parent / "utils"))
sys.path.append(str(Path(__file__).parent.parent.parent / "utils"))
from test_module.custom_image_processing import CustomImageProcessor # noqa E402