mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 10:12:23 +06:00
Remove torchvision requirement from AutoImageProcessor (#37457)
This commit is contained in:
parent
1930e750e4
commit
1077603410
@ -327,7 +327,7 @@ def _warning_fast_image_processor_available(fast_class):
|
||||
)
|
||||
|
||||
|
||||
@requires(backends=("vision", "torchvision"))
|
||||
@requires(backends=("vision",))
|
||||
class AutoImageProcessor:
|
||||
r"""
|
||||
This is a generic image processor class that will be instantiated as one of the image processor classes of the
|
||||
|
Loading…
Reference in New Issue
Block a user