Files
OpenFace/.gitignore
Mike McDermott b802889ef0 - Use staged container builds to improve caching and reduce size (#727)
* - Use staged container builds to improve caching and reduce size
- Image size reduced from 8 GB to 1.6ish
- Switched from Make to Ninja for faster builds that do not hog processor
- Removed unneded dependencies
- Added to .dockerignore
- Readme for docker stuff

- Staged Builds
    - Docker's overlay FS means that `rm`ing files does not reduce size
    - Once build artifacts are build, the build dependencies are no longer needed
    - Both of these can be solved by building in a temporary image and copying
    only the needed libraries in
    - Leverages DESTDIR to generate a directory structure that can be just
    copied onto the `/` of the filesystem
    - Similarly, the data files (like models) can be downloaded ahead of time
    into their own image and copied in. This saves on network IO.
    - Anything in a RUN directive that is non-deterministic (e.g. downloading
    a file from a link, the content of that link changes) does not cause a cache
    miss, so if you need to update something RUN uses, either modify the
    dockerfile or build with `--no-cache` to force a rebuild
- Switch to Ninja
    - cmake can generate many types of build systems
    - Ninja builds faster than GNU Make
    - `make -j` has a tendency to lock up my system when building locally
    - Do not need to tell ninja how many jobs to run
- .dockerignore
    - Paths in .dockerignore are basically invisible to dockerd, so when dockerd
    zips up the build context, all of the cruft can be ignored
    - it is beneficial to docker build speed to add any large, unnecssary files
    and directories to .dockerignore.
    - Just remember they cannot be seen by dockerd

* removing cruft and some format fixes

* updated dockerfile to opencv 4.1.0
2019-07-04 08:13:48 +01:00

108 lines
3.6 KiB
Plaintext

lib/local/LandmarkDetector/model/patch_experts/cen_patches_*.dat
matlab_version/experiments_menpo/out_semifrontal/
/x64/Release/
/x64/Debug/
matlab_version/pdm_generation/menpo_pdm/old_models/
matlab_version/experiments_menpo/out_profile/
matlab_version/experiments_menpo/menpo_fit_ceclm_test_profile/
matlab_version/experiments_menpo/menpo_challenge_helpers/out_semifrontal/
matlab_version/experiments_menpo/menpo_challenge_helpers/out_profile/
matlab_version/experiments_300VW/CLNF_res_general/
matlab_version/experiments_300VW/CLM_res/
matlab_version/experiments_300VW/CECLM_res_validation/
matlab_version/experiments_300VW/CECLM_res_menpo/
matlab_version/experiments_300VW/CECLM_res_general/
matlab_runners/out_UvA_NEMO/
matlab_runners/Head Pose Experiments/experiments/
matlab_runners/Feature Point Experiments/yt_features_ceclm/
lib/local/LandmarkDetector/Release/
lib/local/LandmarkDetector/x64/
lib/local/LandmarkDetector/Debug/
lib/local/GazeAnalyser/Debug/
lib/local/FaceAnalyser/x64/
lib/local/GazeAnalyser/x64/
lib/3rdParty/dlib/x64/
lib/local/FaceAnalyser/Debug/
lib/3rdParty/dlib/Release/
lib/3rdParty/dlib/Debug/
*.ipch
exe/Recording/x64/
exe/Recording/Debug/
exe/FeatureExtraction/x64/
exe/FeatureExtraction/Debug/
exe/FaceLandmarkVidMulti/x64/
exe/FaceLandmarkVidMulti/Debug/
lib/local/FaceAnalyser/Release/
exe/FaceLandmarkVid/Release/
exe/FaceLandmarkImg/x64/
exe/FaceLandmarkVid/Debug/
exe/FaceLandmarkVid/x64/
exe/FaceLandmarkImg/Debug/
OpenFace.sdf
OpenFace.VC.opendb
matlab_runners/Feature Point Experiments/out_ceclm/
matlab_runners/Feature Point Experiments/out_clnf/
matlab_runners/Feature Point Experiments/out_svr/
exe/FaceLandmarkImg/Release/
exe/FaceLandmarkVidMulti/Release/
exe/FeatureExtraction/Release/
exe/Recording/Release/
lib/local/GazeAnalyser/Release/
exe/FaceLandmarkImg/menpo_out/
/Release/
/Debug/
matlab_runners/Demos/demo_img/
matlab_runners/Demos/demo_vid/
matlab_runners/Demos/output_features_seq/
matlab_runners/Demos/output_features_vid/
exe/FeatureExtraction/experiments/
matlab_runners/Feature Point Experiments/300VW_features/ceclm/
matlab_runners/Feature Point Experiments/300VW_features/clnf/
matlab_runners/Feature Point Experiments/yt_features_clm/
matlab_runners/Feature Point Experiments/yt_features_clnf/
matlab_runners/Action Unit Experiments/out_DISFA/
matlab_runners/Action Unit Experiments/out_fera/
matlab_runners/Action Unit Experiments/out_SEMAINE/
matlab_runners/Gaze Experiments/mpii_out/
*.vspx
matlab_version/AU_training/experiments/full_model_training/mat_models_o/
lib/local/Utilities/x64/Release/
lib/local/Utilities/x64/
exe/FaceLandmarkImg/processed/
matlab_runners/Demos/processed_features/
matlab_runners/Feature Point Experiments/yt_res/
matlab_runners/Feature Point Experiments/300W_experiments/
gui/OpenFaceOffline/obj/Release/
lib/local/CppInerop/x64/
gui/OpenFaceOffline/obj/Debug/
gui/HeadPose-live/obj/x86/
gui/OpenFaceDemo/obj/Debug/
gui/OpenFaceDemo/obj/Release/
gui/HeadPose-live/obj/Release/
gui/HeadPose-live/obj/Debug/
lib/3rdParty/CameraEnumerator/x64/
matlab_runners/Action Unit Experiments/out_bosph/
matlab_runners/Action Unit Experiments/out_bp4d/
matlab_runners/Feature Point Experiments/300VW_experiment/
gui/OpenFaceOffline/obj/
gui/OpenFaceDemo/obj/
exe/FeatureExtraction/processed/
exe/FaceLandmarkVidMulti/processed/
lib/3rdParty/CameraEnumerator/Release/
lib/local/CppInerop/Release/
lib/local/Utilities/Release/
matlab_runners/Demos/processed/
exe/releases/OpenFace_*
*.suo
.vs/OpenFace/v15/
/build/
matlab_runners/Action Unit Experiments/AU_predictions/
lib/local/Utilities/Debug/
lib/3rdParty/CameraEnumerator/Debug/
lib/local/CppInerop/Debug/
*.user
# IDE-generated folders
.idea