added module: Face Swap (Insight)

This commit is contained in:
iperov 2023-07-09 22:01:38 +04:00
parent c7478635cc
commit c4511db198
33 changed files with 567 additions and 75 deletions

View file

@ -476,19 +476,19 @@ def build_deepfacelive_windows(release_dir, cache_dir, python_ver='3.8.10', back
builder.install_pip_package('h5py')
builder.install_pip_package('numexpr')
builder.install_pip_package('protobuf==3.20.1')
builder.install_pip_package('opencv-python==4.7.0.72')
builder.install_pip_package('opencv-contrib-python==4.7.0.72')
builder.install_pip_package('pyqt6==6.5.0')
builder.install_pip_package('onnx==1.13.0')
builder.install_pip_package('opencv-python==4.8.0.74')
builder.install_pip_package('opencv-contrib-python==4.8.0.74')
builder.install_pip_package('pyqt6==6.5.1')
builder.install_pip_package('onnx==1.14.0')
if backend == 'cuda':
#builder.install_pip_package('torch==1.10.0+cu113 torchvision==0.11.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html')
#builder.install_pip_package('torch==1.11.0+cu115 torchvision==0.12.0+cu115 -f https://download.pytorch.org/whl/torch_stable.html')
builder.install_pip_package('torch==1.13.1+cu117 torchvision==0.14.1+cu117 -f https://download.pytorch.org/whl/torch_stable.html')
builder.install_pip_package('onnxruntime-gpu==1.14.1')
builder.install_pip_package('onnxruntime-gpu==1.15.1')
elif backend == 'directml':
builder.install_pip_package('onnxruntime-directml==1.14.1')
builder.install_pip_package('onnxruntime-directml==1.15.1')
builder.install_ffmpeg_binaries()