Updating packaging script

This commit is contained in:
Tadas Baltrusaitis
2018-05-23 20:32:20 +01:00
parent 881c10d49d
commit d333ba238a
6 changed files with 24 additions and 2 deletions

3
.gitignore vendored
View File

@@ -90,3 +90,6 @@ lib/3rdParty/CameraEnumerator/Release/
lib/local/CppInerop/Release/
lib/local/Utilities/Release/
matlab_runners/Demos/processed/
exe/releases/OpenFace_*
*.suo
.vs/OpenFace/v15/

View File

@@ -0,0 +1,12 @@
$source = "https://www.dropbox.com/s/7na5qsjzz8yfoer/cen_patches_0.25_of.dat?dl=1"
$destination = "model/patch_experts/cen_patches_0.25_of.dat"
Invoke-WebRequest $source -OutFile $destination
$source = "https://www.dropbox.com/s/k7bj804cyiu474t/cen_patches_0.35_of.dat?dl=1"
$destination = "model/patch_experts/cen_patches_0.35_of.dat"
Invoke-WebRequest $source -OutFile $destination
$source = "https://www.dropbox.com/s/ixt4vkbmxgab1iu/cen_patches_0.50_of.dat?dl=1"
$destination = "model/patch_experts/cen_patches_0.50_of.dat"
Invoke-WebRequest $source -OutFile $destination
$source = "https://www.dropbox.com/s/2t5t1sdpshzfhpj/cen_patches_1.00_of.dat?dl=1"
$destination = "model/patch_experts/cen_patches_1.00_of.dat"
Invoke-WebRequest $source -OutFile $destination

View File

@@ -1,5 +1,5 @@
clear;
version = '2.0.0';
version = '2.0.1';
out_x86 = sprintf('OpenFace_%s_win_x86', version);
out_x64 = sprintf('OpenFace_%s_win_x64', version);
@@ -19,6 +19,12 @@ copyfile([in_x64, 'AU_predictors'], [out_x64, '/AU_predictors'])
copyfile([in_x64, 'classifiers'], [out_x64, '/classifiers'])
copyfile([in_x64, 'model'], [out_x64, '/model'])
copyfile('readme.txt', out_x86);
copyfile('download_models.ps1', out_x86);
copyfile('readme.txt', out_x64);
copyfile('download_models.ps1', out_x64);
%% Copy libraries
libs_x86 = dir([in_x86, '*.lib'])';

1
exe/releases/readme.txt Normal file
View File

@@ -0,0 +1 @@
Please run the download_models.ps1 script or visit https://github.com/TadasBaltrusaitis/OpenFace/wiki/Model-download for information of how to get the models required to run the executables.

View File

@@ -1,2 +1,2 @@
Mean error, median error
9.100, 8.468
9.102, 8.443