619 lines
14 KiB
Python
619 lines
14 KiB
Python
|
# 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 ImageFeatureExtractionMixin(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class BeitFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class BeitImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class BitImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class BlipImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class BridgeTowerImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ChineseCLIPFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ChineseCLIPImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class CLIPFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class CLIPImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ConditionalDetrFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ConditionalDetrImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ConvNextFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ConvNextImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class DeformableDetrFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class DeformableDetrImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class DeiTFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class DeiTImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class DetaImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class DetrFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class DetrImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class DonutFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class DonutImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class DPTFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class DPTImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class EfficientFormerImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class EfficientNetImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class FlavaFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class FlavaImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class FlavaProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class FuyuImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class FuyuProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class GLPNFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class GLPNImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class GroundingDinoImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class IdeficsImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class Idefics2ImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ImageGPTFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ImageGPTImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class LayoutLMv2FeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class LayoutLMv2ImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class LayoutLMv3FeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class LayoutLMv3ImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class LevitFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class LevitImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class LlavaNextImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class Mask2FormerImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class MaskFormerFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class MaskFormerImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class MobileNetV1FeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class MobileNetV1ImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class MobileNetV2FeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class MobileNetV2ImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class MobileViTFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class MobileViTImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class NougatImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class OneFormerImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class Owlv2ImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class OwlViTFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class OwlViTImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class PerceiverFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class PerceiverImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class Pix2StructImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class PoolFormerFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class PoolFormerImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class PvtImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class SamImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class SegformerFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class SegformerImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class SegGptImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class SiglipImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class SuperPointImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class Swin2SRImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class TvltImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class TvpImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class VideoMAEFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class VideoMAEImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ViltFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ViltImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ViltProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ViTFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ViTImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class ViTHybridImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class VitMatteImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class VivitImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class YolosFeatureExtractor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|
||
|
|
||
|
|
||
|
class YolosImageProcessor(metaclass=DummyObject):
|
||
|
_backends = ["vision"]
|
||
|
|
||
|
def __init__(self, *args, **kwargs):
|
||
|
requires_backends(self, ["vision"])
|