File size: 810 Bytes
2260825
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This file is autogenerated by the command `make fix-copies`, do not edit.
from ..file_utils import requires_backends


DETR_PRETRAINED_MODEL_ARCHIVE_LIST = None


class DetrForObjectDetection:
    def __init__(self, *args, **kwargs):
        requires_backends(self, ["timm"])

    @classmethod
    def from_pretrained(cls, *args, **kwargs):
        requires_backends(cls, ["timm"])


class DetrForSegmentation:
    def __init__(self, *args, **kwargs):
        requires_backends(self, ["timm"])

    @classmethod
    def from_pretrained(cls, *args, **kwargs):
        requires_backends(cls, ["timm"])


class DetrModel:
    def __init__(self, *args, **kwargs):
        requires_backends(self, ["timm"])

    @classmethod
    def from_pretrained(cls, *args, **kwargs):
        requires_backends(cls, ["timm"])