From 24e378a7a100d7d6f5133b34e16a09bb0cc98459 Mon Sep 17 00:00:00 2001 From: Vladyslav Usenko Date: Fri, 6 Mar 2020 14:45:48 +0100 Subject: [PATCH] small fix --- .gitlab-ci.yml | 2 +- scripts/eval_full/gen_results_tumvi.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2f2359a..488b952 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -288,7 +288,7 @@ gen_results: - ./gen_results_kitti.py eval_results_kitti > kitti_results.txt - cat kitti_results.txt - ./gen_results_tumvi.py eval_results_tumvi > tumvi_results.txt - - cat kitti_results.txt + - cat tumvi_results.txt - mv euroc_results.txt ../../ - mv kitti_results.txt ../../ - mv tumvi_results.txt ../../ diff --git a/scripts/eval_full/gen_results_tumvi.py b/scripts/eval_full/gen_results_tumvi.py index 7f4c25e..39c3486 100755 --- a/scripts/eval_full/gen_results_tumvi.py +++ b/scripts/eval_full/gen_results_tumvi.py @@ -39,7 +39,7 @@ for key in datasets[1:]: row_format ="{:>17}" + "{:>13}" * (len(datasets)-1) -datasets_short = [x[:5] for x in datasets] +datasets_short = [x[8:].split('_')[0] for x in datasets] print '\nVisual-Inertial Odometry' print row_format.format(*datasets_short)