"vscode:/vscode.git/clone" did not exist on "565b802a6b7f4a5dee8c1fa88407f98d04f2afe3"
__init__.py 1.69 KB
Newer Older
1
2
3
4
5
6
7
8
9
from ._register_onnx_ops import _register_custom_op
from .boxes import (
    nms,
    batched_nms,
    remove_small_boxes,
    clip_boxes_to_image,
    box_area,
    box_iou,
    generalized_box_iou,
Abhijit Deo's avatar
Abhijit Deo committed
10
    complete_box_iou,
11
12
    masks_to_boxes,
)
13
from .boxes import box_convert
Abhijit Deo's avatar
Abhijit Deo committed
14
from .ciou_loss import complete_box_iou_loss
15
from .deform_conv import deform_conv2d, DeformConv2d
16
from .drop_block import drop_block2d, DropBlock2d, drop_block3d, DropBlock3d
17
from .feature_pyramid_network import FeaturePyramidNetwork
18
from .focal_loss import sigmoid_focal_loss
Joao Gomes's avatar
Joao Gomes committed
19
from .giou_loss import generalized_box_iou_loss
20
from .misc import FrozenBatchNorm2d, Conv2dNormActivation, Conv3dNormActivation, SqueezeExcitation
21
22
23
24
25
from .poolers import MultiScaleRoIAlign
from .ps_roi_align import ps_roi_align, PSRoIAlign
from .ps_roi_pool import ps_roi_pool, PSRoIPool
from .roi_align import roi_align, RoIAlign
from .roi_pool import roi_pool, RoIPool
26
from .stochastic_depth import stochastic_depth, StochasticDepth
27

28
29
_register_custom_op()

30
31

__all__ = [
32
    "masks_to_boxes",
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
    "deform_conv2d",
    "DeformConv2d",
    "nms",
    "batched_nms",
    "remove_small_boxes",
    "clip_boxes_to_image",
    "box_convert",
    "box_area",
    "box_iou",
    "generalized_box_iou",
    "roi_align",
    "RoIAlign",
    "roi_pool",
    "RoIPool",
    "ps_roi_align",
    "PSRoIAlign",
    "ps_roi_pool",
    "PSRoIPool",
    "MultiScaleRoIAlign",
    "FeaturePyramidNetwork",
    "sigmoid_focal_loss",
    "stochastic_depth",
    "StochasticDepth",
56
    "FrozenBatchNorm2d",
57
58
    "Conv2dNormActivation",
    "Conv3dNormActivation",
59
    "SqueezeExcitation",
Hu Ye's avatar
Hu Ye committed
60
    "generalized_box_iou_loss",
61
62
63
64
    "drop_block2d",
    "DropBlock2d",
    "drop_block3d",
    "DropBlock3d",
65
]