From 4707b0a687ecc1f1cefc211b34cfbb7ddc816bc8 Mon Sep 17 00:00:00 2001 From: Tadas Baltrusaitis Date: Tue, 7 Nov 2017 07:25:44 +0000 Subject: [PATCH] Some more script fixes. --- matlab_runners/Head Pose Experiments/calcBiwiError.m | 2 +- matlab_runners/Head Pose Experiments/calcIctError.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab_runners/Head Pose Experiments/calcBiwiError.m b/matlab_runners/Head Pose Experiments/calcBiwiError.m index 52aec56c..14e2da9f 100644 --- a/matlab_runners/Head Pose Experiments/calcBiwiError.m +++ b/matlab_runners/Head Pose Experiments/calcBiwiError.m @@ -16,7 +16,7 @@ for i=1:numel(seqNames) posesGround = load ([gtDir '/' seqNames{i} '/groundTruthPose.txt']); - [frame t, rels, sc tx ty tz rx ry rz] = textread([resDir '/' seqNames{i} '.txt'], '%f, %f, %f, %f, %f, %f, %f, %f, %f, %f', 'headerlines', 1); + [frame t, rels, sc tx ty tz rx ry rz] = textread([resDir '/' seqNames{i} '.csv'], '%f, %f, %f, %f, %f, %f, %f, %f, %f, %f', 'headerlines', 1); % the reliabilities of head pose rels_all = cat(1, rels_all, rels); diff --git a/matlab_runners/Head Pose Experiments/calcIctError.m b/matlab_runners/Head Pose Experiments/calcIctError.m index b0df1a90..20a71615 100644 --- a/matlab_runners/Head Pose Experiments/calcIctError.m +++ b/matlab_runners/Head Pose Experiments/calcIctError.m @@ -4,7 +4,7 @@ function [meanError, all_rot_preds, all_rot_gts, meanErrors, all_errors, rels_al polhemus = 'polhemusNorm.csv'; - sequences = dir([resDir '*.txt']); + sequences = dir([resDir '*.csv']); rotMeanErr = zeros(numel(sequences),3); rotRMS = zeros(numel(sequences),3);