2128589309
- New AU recognition models trained on extra datasets - Bosphorus, UNBC, FERA2011 - Cleaner and clearer separation of static and dynamic AU models - AU training code cleaned up and instructions added - bug fixes with median feature computation - AU prediction correction (smoothing and shifting) with post processing
31 lines
No EOL
1.8 KiB
Matlab
31 lines
No EOL
1.8 KiB
Matlab
if(exist('D:\Datasets\fera/au_training', 'file'))
|
|
FERA2011_dir = 'D:\Datasets\fera/au_training/';
|
|
hog_data_dir = 'D:\Datasets\face_datasets\hog_aligned_rigid/';
|
|
else
|
|
fprintf('FERA2011 location not found (or not defined)\n');
|
|
end
|
|
|
|
all_recs = {'train_001', 'train_002', 'train_003', 'train_004', 'train_005',...
|
|
'train_006', 'train_007', 'train_008', 'train_009', 'train_010',...
|
|
'train_011', 'train_012', 'train_013', 'train_014', 'train_015',...
|
|
'train_016', 'train_017', 'train_018', 'train_019', 'train_020',...
|
|
'train_021', 'train_022', 'train_023', 'train_024', 'train_025',...
|
|
'train_026', 'train_027', 'train_028', 'train_029', 'train_030',...
|
|
'train_031', 'train_032', 'train_033', 'train_034', 'train_035',...
|
|
'train_036', 'train_037', 'train_038', 'train_039', 'train_040',...
|
|
'train_041', 'train_042', 'train_043', 'train_044', 'train_045',...
|
|
'train_046', 'train_047', 'train_048', 'train_049', 'train_050',...
|
|
'train_051', 'train_052', 'train_053', 'train_054', 'train_055',...
|
|
'train_056', 'train_057', 'train_058', 'train_059', 'train_060',...
|
|
'train_061', 'train_062', 'train_063', 'train_064', 'train_065',...
|
|
'train_066', 'train_067', 'train_068', 'train_069', 'train_070',...
|
|
'train_071', 'train_072', 'train_073', 'train_074', 'train_075',...
|
|
'train_076', 'train_077', 'train_078', 'train_079', 'train_080',...
|
|
'train_081', 'train_082', 'train_083', 'train_084', 'train_085',...
|
|
'train_086', 'train_087'};
|
|
|
|
% Making them person independent
|
|
train_recs = all_recs(1:56);
|
|
devel_recs = setdiff(all_recs, train_recs);
|
|
|
|
all_aus = [1, 2, 4, 6, 7, 10, 12, 15, 17, 18, 25, 26]; |