__init__.py 2.68 KB
Newer Older
dingchang's avatar
dingchang committed
1
# Copyright (c) OpenMMLab. All rights reserved.
zhangwenwei's avatar
zhangwenwei committed
2
3
from mmcv.ops import (RoIAlign, SigmoidFocalLoss, get_compiler_version,
                      get_compiling_cuda_version, nms, roi_align,
zhangwenwei's avatar
zhangwenwei committed
4
                      sigmoid_focal_loss)
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from mmcv.ops.assign_score_withk import assign_score_withk
from mmcv.ops.ball_query import ball_query
from mmcv.ops.furthest_point_sample import (furthest_point_sample,
                                            furthest_point_sample_with_dist)
from mmcv.ops.gather_points import gather_points
from mmcv.ops.group_points import GroupAll, QueryAndGroup, grouping_operation
from mmcv.ops.knn import knn
from mmcv.ops.points_in_boxes import (points_in_boxes_all, points_in_boxes_cpu,
                                      points_in_boxes_part)
from mmcv.ops.points_sampler import PointsSampler as Points_Sampler
from mmcv.ops.roiaware_pool3d import RoIAwarePool3d
from mmcv.ops.roipoint_pool3d import RoIPointPool3d
from mmcv.ops.scatter_points import DynamicScatter, dynamic_scatter
from mmcv.ops.three_interpolate import three_interpolate
from mmcv.ops.three_nn import three_nn
from mmcv.ops.voxelize import Voxelization, voxelization
zhangwenwei's avatar
zhangwenwei committed
21

22
from .dgcnn_modules import DGCNNFAModule, DGCNNFPModule, DGCNNGFModule
zhangwenwei's avatar
zhangwenwei committed
23
from .norm import NaiveSyncBatchNorm1d, NaiveSyncBatchNorm2d
24
from .paconv import PAConv, PAConvCUDA
25
26
27
from .pointnet_modules import (PAConvCUDASAModule, PAConvCUDASAModuleMSG,
                               PAConvSAModule, PAConvSAModuleMSG,
                               PointFPModule, PointSAModule, PointSAModuleMSG,
28
                               build_sa_module)
wuyuefeng's avatar
wuyuefeng committed
29
30
from .sparse_block import (SparseBasicBlock, SparseBottleneck,
                           make_sparse_convmodule)
zhangwenwei's avatar
zhangwenwei committed
31
32

__all__ = [
33
34
35
36
    'nms', 'soft_nms', 'RoIAlign', 'roi_align', 'get_compiler_version',
    'get_compiling_cuda_version', 'NaiveSyncBatchNorm1d',
    'NaiveSyncBatchNorm2d', 'batched_nms', 'Voxelization', 'voxelization',
    'dynamic_scatter', 'DynamicScatter', 'sigmoid_focal_loss',
wuyuefeng's avatar
wuyuefeng committed
37
    'SigmoidFocalLoss', 'SparseBasicBlock', 'SparseBottleneck',
38
    'RoIAwarePool3d', 'points_in_boxes_part', 'points_in_boxes_cpu',
39
    'make_sparse_convmodule', 'ball_query', 'knn', 'furthest_point_sample',
40
    'furthest_point_sample_with_dist', 'three_interpolate', 'three_nn',
41
42
43
    'gather_points', 'grouping_operation', 'GroupAll', 'QueryAndGroup',
    'PointSAModule', 'PointSAModuleMSG', 'PointFPModule', 'DGCNNFPModule',
    'DGCNNGFModule', 'DGCNNFAModule', 'points_in_boxes_all',
44
45
46
    'get_compiler_version', 'assign_score_withk', 'get_compiling_cuda_version',
    'Points_Sampler', 'build_sa_module', 'PAConv', 'PAConvCUDA',
    'PAConvSAModuleMSG', 'PAConvSAModule', 'PAConvCUDASAModule',
47
    'PAConvCUDASAModuleMSG', 'RoIPointPool3d'
zhangwenwei's avatar
zhangwenwei committed
48
]