Created
January 25, 2020 03:19
-
-
Save jcheong0428/5066e80497de5c17955b3d023b585436 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| from os.path import exists, join, basename, splitext | |
| git_repo_url = 'https://github.com/TadasBaltrusaitis/OpenFace.git' | |
| project_name = splitext(basename(git_repo_url))[0] | |
| # clone openface | |
| !git clone -q --depth 1 $git_repo_url | |
| # install new CMake becaue of CUDA10 | |
| !wget -q https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.tar.gz | |
| !tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local | |
| # Get newest GCC | |
| !sudo apt-get update | |
| !sudo apt-get install build-essential | |
| !sudo apt-get install g++-8 | |
| # install python dependencies | |
| !pip install -q youtube-dl | |
| # Finally, actually install OpenFace | |
| !cd OpenFace && bash ./download_models.sh && sudo bash ./install.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment