Download SupplementaryMaterial_Code/transformers_4.56.1/utils/dummy_vision_objects.py from chen459664/hallucination: direct link, hf CLI and curl.
- Browser
- Download file 630 Bytes
-
https://huggingface.co/chen459664/hallucination/resolve/main/SupplementaryMaterial_Code/transformers_4.56.1/utils/dummy_vision_objects.py
- Command line
-
hf download hf://chen459664/hallucination/SupplementaryMaterial_Code/transformers_4.56.1/utils/dummy_vision_objects.py
-
curl -L -o dummy_vision_objects.py https://huggingface.co/chen459664/hallucination/resolve/main/SupplementaryMaterial_Code/transformers_4.56.1/utils/dummy_vision_objects.py
630 Bytes
| # This file is autogenerated by the command `make fix-copies`, do not edit. | |
| from ..utils import DummyObject, requires_backends | |
| class ImageProcessingMixin(metaclass=DummyObject): | |
| _backends = ["vision"] | |
| def __init__(self, *args, **kwargs): | |
| requires_backends(self, ["vision"]) | |
| class BaseImageProcessor(metaclass=DummyObject): | |
| _backends = ["vision"] | |
| def __init__(self, *args, **kwargs): | |
| requires_backends(self, ["vision"]) | |
| class ImageFeatureExtractionMixin(metaclass=DummyObject): | |
| _backends = ["vision"] | |
| def __init__(self, *args, **kwargs): | |
| requires_backends(self, ["vision"]) | |