Cleaning up 300W results and JANUS ones.

This commit is contained in:
Tadas Baltrusaitis
2017-05-08 17:44:46 -04:00
parent 23868d634a
commit 9e53e0776c
119 changed files with 877 additions and 5417 deletions

View File

@@ -13,7 +13,7 @@ clmParams = struct;
clmParams.window_size = [25,25; 23,23; 21,21];
clmParams.numPatchIters = size(clmParams.window_size,1);
[patches] = Load_Patch_Experts( '../models/general/', 'ccnf_patches_*_general.mat', [], [], clmParams);
[patches] = Load_Patch_Experts( '../models/wild/', 'ccnf_patches_*_wild.mat', [], [], clmParams);
%% Fitting the model to the provided image
@@ -106,9 +106,9 @@ for i=1:numel(images)
if(a > 0.9)
g_param = [a; Rot2Euler(R)'; T];
bbox = [min(shape_inner(:,1)), min(shape_inner(:,2)), max(shape_inner(:,1)), max(shape_inner(:,2))];
bbox_2 = [min(shape_inner(:,1)), min(shape_inner(:,2)), max(shape_inner(:,1)), max(shape_inner(:,2))];
[shape_inner] = Fitting_from_bb(image, [], bbox, pdm_inner, patches_inner, clmParams_inner, 'gparam', g_param, 'lparam', l_params);
[shape_inner] = Fitting_from_bb(image, [], bbox_2, pdm_inner, patches_inner, clmParams_inner, 'gparam', g_param, 'lparam', l_params);
% Now after detections incorporate the eyes back
% into the face model
@@ -151,7 +151,7 @@ fprintf('Done: mean normed error %.3f median normed error %.4f\n', ...
mean(experiment.errors_normed), median(experiment.errors_normed));
%%
output_results = 'results/results_wild_clnf_general.mat';
output_results = 'results/results_clnf_wild.mat';
save(output_results, 'experiment');
end