uricamic / flandmark

Open-source implementation of facial landmark detector
http://cmp.felk.cvut.cz/~uricamic/flandmark/
GNU General Public License v3.0
228 stars 151 forks source link

Cannot load './results/options.mat' while running flandmark_learn.m file #12

Open khalidiitdu opened 10 years ago

khalidiitdu commented 10 years ago

I am trying to run 'flandmark_learn.m' file, but it's getting following error:

Error using load Unable to read file ./results/options.mat: No such file or directory.

Error in prepDataForLBP (line 27) load('./results/options.mat');

I noticed that 'options.mat' is saved into './code/MAT/' directory (save('./code/MAT/options.mat', 'options');--->flandmark_learn.m, line no: 83 )

If I make changes in 'prepDataForLBP.m' file from "load('./results/options.mat');" to "load('./MAT/options.mat');", In that case it shows following error message:

Reference to non-existent field 'S'.

Error in prepDataForLBP (line 30) S = options.S;

Error in run (line 57) evalin('caller', [s ';']);

Error in flandmark_learn (line 160) run './code/prepDataForLBP.m';

run Error using run (line 23) Not enough input arguments.

What should I do???