Some more script fixes.

This commit is contained in:
Tadas Baltrusaitis 2017-11-07 07:25:44 +00:00
parent b37335052c
commit 4707b0a687
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ for i=1:numel(seqNames)
posesGround = load ([gtDir '/' seqNames{i} '/groundTruthPose.txt']); 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 % the reliabilities of head pose
rels_all = cat(1, rels_all, rels); rels_all = cat(1, rels_all, rels);

View file

@ -4,7 +4,7 @@ function [meanError, all_rot_preds, all_rot_gts, meanErrors, all_errors, rels_al
polhemus = 'polhemusNorm.csv'; polhemus = 'polhemusNorm.csv';
sequences = dir([resDir '*.txt']); sequences = dir([resDir '*.csv']);
rotMeanErr = zeros(numel(sequences),3); rotMeanErr = zeros(numel(sequences),3);
rotRMS = zeros(numel(sequences),3); rotRMS = zeros(numel(sequences),3);