added Face Animator module

This commit is contained in:
iperov 2022-05-13 12:26:20 +04:00
commit ae8a1e0ff4
51 changed files with 773 additions and 158 deletions

View file

@ -470,8 +470,8 @@ def build_deepfacelive_windows(release_dir, cache_dir, python_ver='3.7.9', backe
clear_release_path=True)
# PIP INSTALLATIONS
builder.install_pip_package('numpy==1.21.5')
builder.install_pip_package('numpy==1.21.6')
builder.install_pip_package('h5py')
builder.install_pip_package('numexpr')
builder.install_pip_package('opencv-python==4.5.5.64')
@ -522,6 +522,9 @@ def build_deepfacelive_windows(release_dir, cache_dir, python_ver='3.7.9', backe
print('Copying samples.')
shutil.copytree( str(Path(__file__).parent.parent / 'samples'), str(userdata_path / 'samples') )
print('Copying animatables.')
shutil.copytree( str(Path(__file__).parent.parent / 'animatables'), str(userdata_path / 'animatables') )
if backend == 'cuda':
builder.create_run_python_script('DeepFaceLive.bat', 'DeepFaceLive\\main.py', 'run DeepFaceLive --userdata-dir="%~dp0userdata"')
elif backend == 'directml':