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
ModelZoo
SOLOv2-pytorch
Commits
440fd174
Unverified
Commit
440fd174
authored
Aug 01, 2019
by
Kai Chen
Committed by
GitHub
Aug 01, 2019
Browse files
Bug fix for recursive imports (#1099)
* bug fix for recursive imports * minor formatting
parent
b6712d4a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mmdet/core/bbox/__init__.py
mmdet/core/bbox/__init__.py
+3
-1
No files found.
mmdet/core/bbox/__init__.py
View file @
440fd174
from
.assign_sampling
import
assign_and_sample
,
build_assigner
,
build_sampler
from
.assigners
import
AssignResult
,
BaseAssigner
,
MaxIoUAssigner
from
.assigners
import
AssignResult
,
BaseAssigner
,
MaxIoUAssigner
from
.bbox_target
import
bbox_target
from
.bbox_target
import
bbox_target
from
.geometry
import
bbox_overlaps
from
.geometry
import
bbox_overlaps
...
@@ -9,6 +8,9 @@ from .transforms import (bbox2delta, bbox2result, bbox2roi, bbox_flip,
...
@@ -9,6 +8,9 @@ from .transforms import (bbox2delta, bbox2result, bbox2roi, bbox_flip,
bbox_mapping
,
bbox_mapping_back
,
delta2bbox
,
bbox_mapping
,
bbox_mapping_back
,
delta2bbox
,
distance2bbox
,
roi2bbox
)
distance2bbox
,
roi2bbox
)
from
.assign_sampling
import
(
# isort:skip, avoid recursive imports
assign_and_sample
,
build_assigner
,
build_sampler
)
__all__
=
[
__all__
=
[
'bbox_overlaps'
,
'BaseAssigner'
,
'MaxIoUAssigner'
,
'AssignResult'
,
'bbox_overlaps'
,
'BaseAssigner'
,
'MaxIoUAssigner'
,
'AssignResult'
,
'BaseSampler'
,
'PseudoSampler'
,
'RandomSampler'
,
'BaseSampler'
,
'PseudoSampler'
,
'RandomSampler'
,
...
...
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