-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbatch_kitti360.py
29 lines (28 loc) · 1.1 KB
/
batch_kitti360.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import os
import subprocess
for i in ['0000','0002','0003','0004','0005','0006','0009','0010']:
p = subprocess.Popen("python demo_vio_kitti360.py" +\
" --imagedir=/home/zhouyuxuan/data/2013_05_28_drive_%s_sync/image_00/data_rgb"%i +\
" --imagestamp=/home/zhouyuxuan/data/2013_05_28_drive_%s_sync/camstamp.txt"%i +\
" --imupath=/home/zhouyuxuan/data/2013_05_28_drive_%s_sync/imu.txt"%i +\
" --gtpath=/home/zhouyuxuan/data/2013_05_28_drive_%s_sync/gt_local.txt"%i +\
# " --enable_h5" +\
# " --h5path=/home/zhouyuxuan/DROID-SLAM/%s.h5"%i +\
" --resultpath=results/result_%s.txt"%i +\
" --calib=calib/kitti_360.txt" +\
" --stride=2" +\
" --max_factors=48" +\
" --active_window=12" +\
" --frontend_window=5" +\
" --frontend_radius=2" +\
" --frontend_nms=1" +\
" --inac_range=3" +\
" --visual_only=0" +\
" --far_threshold=-1" +\
" --translation_threshold=0.5" +\
" --mask_threshold=1.0" +\
" --skip_edge=[-4,-5,-6]" +\
" --save_pkl" +\
" --pklpath=results/%s.pkl"%i +\
" --show_plot",shell=True)
p.wait()