- A better way to link to OpenBLAS (using pre-compiled binaries), this leads to faster computation on Windows

- Demo script fixes
This commit is contained in:
Tadas Baltrusaitis
2017-08-27 15:51:40 +01:00
parent f62516789c
commit 6414efef72
10 changed files with 15 additions and 6 deletions

View File

@@ -8,15 +8,15 @@
<AdditionalIncludeDirectories>$(SolutionDir)lib\3rdParty\OpenBLAS\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$(SolutionDir)lib\3rdParty\OpenBLAS\lib\$(PlatformShortName)\$(PlatformToolset);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>libopenblas.lib;libopenblas.exp;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)lib\3rdParty\OpenBLAS\lib\$(PlatformShortName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>libopenblas.dll.a;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PreBuildEvent>
<Command>
</Command>
</PreBuildEvent>
<PreLinkEvent>
<Command>xcopy /I /E /Y /D /C "$(SolutionDir)lib\3rdParty\OpenBlas\bin\$(PlatformShortName)\$(PlatformToolset)\libopenblas.dll" "$(OutDir)"</Command>
<Command>xcopy /I /E /Y /D /C "$(SolutionDir)lib\3rdParty\OpenBlas\bin\$(PlatformShortName)" "$(OutDir)"</Command>
</PreLinkEvent>
</ItemDefinitionGroup>
<ItemGroup />

View File

@@ -21,10 +21,13 @@ verbose = true;
%model = 'model/main_clm_wild.txt';
% Trained on in the wild and multi-pie data (more accurate CLNF model)
model = 'model/main_dclm_general.txt';
%model = 'model/main_clnf_general.txt';
% Trained on in-the-wild
%model = 'model/main_clnf_wild.txt';
% Trained on in the wild and multi-pie data (most accurate CE-CLM model)
model = 'model/main_ceclm_general.txt';
command = executable;
command = cat(2, command, [' -fdir "' in_dir '"']);

View File

@@ -22,10 +22,13 @@ verbose = true;
%model = 'model/main_clm_wild.txt';
% Trained on in the wild and multi-pie data (more accurate CLNF model)
model = 'model/main_clnf_general.txt';
% model = 'model/main_clnf_general.txt';
% Trained on in-the-wild
%model = 'model/main_clnf_wild.txt';
% Trained on in the wild and multi-pie data (most accurate CE-CLM model)
model = 'model/main_ceclm_general.txt';
command = executable;
command = cat(2, command, [' -mloc "', model, '"']);
% add all videos to single argument list (so as not to load the model anew

View File

@@ -23,10 +23,13 @@ verbose = true;
%model = 'model/main_clm_wild.txt';
% Trained on in the wild and multi-pie data (more accurate CLNF model)
model = 'model/main_dclm_general.txt';
% model = 'model/main_clnf_general.txt';
% Trained on in-the-wild
%model = 'model/main_clnf_wild.txt';
% Trained on in the wild and multi-pie data (most accurate CE-CLM model)
model = 'model/main_ceclm_general.txt';
command = executable;
command = cat(2, command, [' -mloc "', model, '"']);
% add all videos to single argument list (so as not to load the model anew