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
a0b1abab
"tests/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "6294677f8acc6bc040baf922910473e1c82995ba"
Unverified
Commit
a0b1abab
authored
May 18, 2022
by
ChaimZhu
Committed by
GitHub
May 18, 2022
Browse files
Fix potential bug when composing pipeline (#1466)
parent
aad3339b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mmdet3d/datasets/pipelines/compose.py
mmdet3d/datasets/pipelines/compose.py
+2
-1
No files found.
mmdet3d/datasets/pipelines/compose.py
View file @
a0b1abab
...
...
@@ -24,7 +24,8 @@ class Compose:
self
.
transforms
=
[]
for
transform
in
transforms
:
if
isinstance
(
transform
,
dict
):
if
transform
[
'type'
]
in
PIPELINES
.
_module_dict
.
keys
():
_
,
key
=
PIPELINES
.
split_scope_key
(
transform
[
'type'
])
if
key
in
PIPELINES
.
_module_dict
.
keys
():
transform
=
build_from_cfg
(
transform
,
PIPELINES
)
else
:
transform
=
build_from_cfg
(
transform
,
MMDET_PIPELINES
)
...
...
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