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
f56e4f17
Commit
f56e4f17
authored
Sep 02, 2022
by
Shaoshuai Shi
Browse files
remove self.seq_name_to_infos of WOD if we do not use multi-frame training
parent
72d587d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
pcdet/datasets/waymo/waymo_dataset.py
pcdet/datasets/waymo/waymo_dataset.py
+4
-1
No files found.
pcdet/datasets/waymo/waymo_dataset.py
View file @
f56e4f17
...
@@ -78,7 +78,10 @@ class WaymoDataset(DatasetTemplate):
...
@@ -78,7 +78,10 @@ class WaymoDataset(DatasetTemplate):
sampled_waymo_infos
.
append
(
self
.
infos
[
k
])
sampled_waymo_infos
.
append
(
self
.
infos
[
k
])
self
.
infos
=
sampled_waymo_infos
self
.
infos
=
sampled_waymo_infos
self
.
logger
.
info
(
'Total sampled samples for Waymo dataset: %d'
%
len
(
self
.
infos
))
self
.
logger
.
info
(
'Total sampled samples for Waymo dataset: %d'
%
len
(
self
.
infos
))
use_sequence_data
=
self
.
dataset_cfg
.
get
(
'SEQUENCE_CONFIG'
,
None
)
is
not
None
and
self
.
dataset_cfg
.
SEQUENCE_CONFIG
.
ENABLED
if
not
use_sequence_data
:
seq_name_to_infos
=
None
return
seq_name_to_infos
return
seq_name_to_infos
def
load_data_to_shared_memory
(
self
):
def
load_data_to_shared_memory
(
self
):
...
...
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