Skip to content

Commit

Permalink
Updating packaging script
Browse files Browse the repository at this point in the history
  • Loading branch information
TadasBaltrusaitis committed May 23, 2018
1 parent 881c10d commit d333ba2
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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/
12 changes: 12 additions & 0 deletions exe/releases/download_models.ps1
Original file line number Diff line number Diff line change
@@ -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
8 changes: 7 additions & 1 deletion exe/releases/package_windows_executables.m
Original file line number Diff line number Diff line change
@@ -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);
Expand All @@ -19,6 +19,12 @@
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'])';

Expand Down
1 change: 1 addition & 0 deletions exe/releases/readme.txt
Original file line number Diff line number Diff line change
@@ -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.
Binary file modified matlab_runners/Gaze Experiments/mpii_1500_errs.mat
Binary file not shown.
2 changes: 1 addition & 1 deletion matlab_runners/Gaze Experiments/mpii_1500_errs.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Mean error, median error
9.100, 8.468
9.102, 8.443

0 comments on commit d333ba2

Please sign in to comment.