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
OpenPCDet
Commits
1c4e1391
Commit
1c4e1391
authored
Jul 21, 2020
by
Shaoshuai Shi
Browse files
bugfixed: use relative path in nuscene infos for sweeps
parent
69326cef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pcdet/datasets/nuscenes/nuscenes_utils.py
pcdet/datasets/nuscenes/nuscenes_utils.py
+1
-1
No files found.
pcdet/datasets/nuscenes/nuscenes_utils.py
View file @
1c4e1391
...
@@ -299,7 +299,7 @@ def fill_trainval_infos(data_path, nusc, train_scenes, val_scenes, test=False, m
...
@@ -299,7 +299,7 @@ def fill_trainval_infos(data_path, nusc, train_scenes, val_scenes, test=False, m
if
curr_sd_rec
[
'prev'
]
==
''
:
if
curr_sd_rec
[
'prev'
]
==
''
:
if
len
(
sweeps
)
==
0
:
if
len
(
sweeps
)
==
0
:
sweep
=
{
sweep
=
{
'lidar_path'
:
ref_lidar_path
,
'lidar_path'
:
Path
(
ref_lidar_path
).
relative_to
(
data_path
).
__str__
()
,
'sample_data_token'
:
curr_sd_rec
[
'token'
],
'sample_data_token'
:
curr_sd_rec
[
'token'
],
'transform_matrix'
:
None
,
'transform_matrix'
:
None
,
'time_lag'
:
curr_sd_rec
[
'timestamp'
]
*
0
,
'time_lag'
:
curr_sd_rec
[
'timestamp'
]
*
0
,
...
...
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