Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
mmdetection3d
Commits
6ad0fbaa
Commit
6ad0fbaa
authored
Sep 18, 2020
by
zhangwenwei
Browse files
fix import error
parent
5c5e43b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
9 deletions
+21
-9
docs/conf.py
docs/conf.py
+19
-7
mmdet3d/ops/__init__.py
mmdet3d/ops/__init__.py
+2
-2
No files found.
docs/conf.py
View file @
6ad0fbaa
...
@@ -42,13 +42,25 @@ extensions = [
...
@@ -42,13 +42,25 @@ extensions = [
]
]
autodoc_mock_imports
=
[
autodoc_mock_imports
=
[
'cv2'
,
'matplotlib'
,
'nuscenes'
,
'PIL'
,
'pycocotools'
,
'pyquaternion'
,
'cv2'
,
'terminaltables'
,
'mmcv'
,
'mmdet'
,
'mmdet3d.version'
,
'matplotlib'
,
'mmdet3d.ops.ball_query'
,
'mmdet3d.ops.furthest_point_sample'
,
'nuscenes'
,
'mmdet3d.ops.gather_points'
,
'mmdet3d.ops.group_points'
,
'PIL'
,
'mmdet3d.ops.interpolate'
,
'mmdet3d.ops.roiaware_pool3d'
,
'pycocotools'
,
'mmdet3d.ops.spconv'
,
'mmdet3d.ops.voxel.voxel_layer'
,
'mmdet3d.ops.iou3d'
,
'pyquaternion'
,
'mmdet3d.ops.utils'
'terminaltables'
,
'mmcv'
,
'mmdet'
,
'mmdet3d.version'
,
'mmdet3d.ops.ball_query'
,
'mmdet3d.ops.furthest_point_sample'
,
'mmdet3d.ops.gather_points'
,
'mmdet3d.ops.group_points'
,
'mmdet3d.ops.interpolate'
,
'mmdet3d.ops.roiaware_pool3d'
,
'mmdet3d.ops.spconv'
,
'mmdet3d.ops.voxel.voxel_layer'
,
'mmdet3d.ops.iou3d'
,
]
]
autosectionlabel_prefix_document
=
True
autosectionlabel_prefix_document
=
True
...
...
mmdet3d/ops/__init__.py
View file @
6ad0fbaa
from
mmcv.ops
import
(
RoIAlign
,
SigmoidFocalLoss
,
nms
,
roi_align
,
from
mmcv.ops
import
(
RoIAlign
,
SigmoidFocalLoss
,
get_compiler_version
,
get_compiling_cuda_version
,
nms
,
roi_align
,
sigmoid_focal_loss
)
sigmoid_focal_loss
)
from
.ball_query
import
ball_query
from
.ball_query
import
ball_query
...
@@ -15,7 +16,6 @@ from .roiaware_pool3d import (RoIAwarePool3d, points_in_boxes_batch,
...
@@ -15,7 +16,6 @@ from .roiaware_pool3d import (RoIAwarePool3d, points_in_boxes_batch,
points_in_boxes_cpu
,
points_in_boxes_gpu
)
points_in_boxes_cpu
,
points_in_boxes_gpu
)
from
.sparse_block
import
(
SparseBasicBlock
,
SparseBottleneck
,
from
.sparse_block
import
(
SparseBasicBlock
,
SparseBottleneck
,
make_sparse_convmodule
)
make_sparse_convmodule
)
from
.utils
import
get_compiler_version
,
get_compiling_cuda_version
from
.voxel
import
DynamicScatter
,
Voxelization
,
dynamic_scatter
,
voxelization
from
.voxel
import
DynamicScatter
,
Voxelization
,
dynamic_scatter
,
voxelization
__all__
=
[
__all__
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment