forked from aleksandrkim61/EagerMOT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
adapt_kitti_motsfusion_input.py
23 lines (16 loc) · 1.01 KB
/
adapt_kitti_motsfusion_input.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import inputs.adapt_input as adapt_input
from configs.local_variables import KITTI_WORK_DIR
def add_detection_info_to_motsfusion_trackrcnn_segmentations(target_sequences):
for sequence_name in target_sequences:
print(f'Sequence {sequence_name}')
adapt_input.add_detection_info_to_motsfusion_trackrcnn_segmentations(sequence_name)
def add_detection_info_to_motsfusion_rrc_segmentations(target_sequences):
for sequence_name in target_sequences:
print(f'Sequence {sequence_name}')
adapt_input.add_detection_info_to_motsfusion_rrc_segmentations(sequence_name)
if __name__ == "__main__":
kitti = mot_kitti.MOTDatasetKITTI(work_dir=KITTI_WORK_DIR,
det_source=input_utils.POINTGNN_T3,
seg_source=input_utils.TRACKING_BEST)
add_detection_info_to_motsfusion_rrc_segmentations([str(i).zfill(4) for i in range(29)])
add_detection_info_to_motsfusion_trackrcnn_segmentations([str(i).zfill(4) for i in range(29)])