Commit d622b76a authored by yinchimaoliang's avatar yinchimaoliang
Browse files

add sunrgbd

parent ceb3cee7
......@@ -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 = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment