e2e2 / src /LlamaRetriever /transformers /utils /dummy_detectron2_objects.py
Qiwei2000's picture
initialize
6548a2f
Raw
History Blame Contribute Delete
340 Bytes
# This file is autogenerated by the command `make fix-copies`, do not edit.
from ..utils import requires_backends
class LayoutLMv2Model:
def __init__(self, *args, **kwargs):
requires_backends(self, ["detectron2"])
@classmethod
def from_pretrained(cls, *args, **kwargs):
requires_backends(cls, ["detectron2"])