Commit f56e4f17 authored by Shaoshuai Shi's avatar Shaoshuai Shi
Browse files

remove self.seq_name_to_infos of WOD if we do not use multi-frame training

parent 72d587d4
...@@ -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):
......
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