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
d622b76a
Commit
d622b76a
authored
Jun 06, 2020
by
yinchimaoliang
Browse files
add sunrgbd
parent
ceb3cee7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
data/sunrgbd/sunrgbd_data.py
data/sunrgbd/sunrgbd_data.py
+4
-3
No files found.
data/sunrgbd/sunrgbd_data.py
View file @
d622b76a
...
...
@@ -126,9 +126,10 @@ def extract_sunrgbd_data(idx_filename,
print
(
'------------- '
,
data_idx
)
objects
=
dataset
.
get_label_objects
(
data_idx
)
if
skip_empty_scene
and
(
len
(
objects
)
==
0
or
len
([
obj
for
obj
in
objects
if
obj
.
classname
in
type_whitelist
])
==
0
):
# noqa:
if
skip_empty_scene
and
\
(
len
(
objects
)
==
0
or
len
([
obj
for
obj
in
objects
if
obj
.
classname
in
type_whitelist
])
==
0
):
continue
object_list
=
[]
...
...
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