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
fba104af
Commit
fba104af
authored
Jun 26, 2020
by
liyinhao
Browse files
Change elif, delete fileclient
parent
05256062
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
tools/data_converter/create_gt_database.py
tools/data_converter/create_gt_database.py
+3
-8
No files found.
tools/data_converter/create_gt_database.py
View file @
fba104af
...
@@ -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
,
...
...
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