mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2025-12-30 13:02:30 +00:00
Updating packaging script
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -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
exe/releases/download_models.ps1
Normal file
12
exe/releases/download_models.ps1
Normal 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
|
||||
@@ -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
1
exe/releases/readme.txt
Normal 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.
|
||||
Binary file not shown.
@@ -1,2 +1,2 @@
|
||||
Mean error, median error
|
||||
9.100, 8.468
|
||||
9.102, 8.443
|
||||
|
||||
Reference in New Issue
Block a user