ai-content-maker/.venv/Lib/site-packages/transformers/utils/dummy_detectron2_objects.py

12 lines
340 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
# 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"])