Commit fba104af authored by liyinhao's avatar liyinhao
Browse files

Change elif, delete fileclient

parent 05256062
...@@ -171,18 +171,13 @@ def create_groundtruth_database(dataset_class_name, ...@@ -171,18 +171,13 @@ def create_groundtruth_database(dataset_class_name,
file_client_args=file_client_args) file_client_args=file_client_args)
]) ])
if dataset_class_name == 'NuScenesDataset': elif dataset_class_name == 'NuScenesDataset':
file_client_args = dict(backend='disk')
dataset_cfg.update(pipeline=[ dataset_cfg.update(pipeline=[
dict( dict(type='LoadPointsFromFile', load_dim=5, use_dim=5),
type='LoadPointsFromFile',
load_dim=5,
use_dim=5,
file_client_args=file_client_args),
dict( dict(
type='LoadPointsFromMultiSweeps', type='LoadPointsFromMultiSweeps',
sweeps_num=10, sweeps_num=10,
file_client_args=file_client_args), ),
dict( dict(
type='LoadAnnotations3D', type='LoadAnnotations3D',
with_bbox_3d=True, with_bbox_3d=True,
......
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