From 5705d46fef7dc46f68a3d36e7b0743aef87b2083 Mon Sep 17 00:00:00 2001 From: iperov Date: Wed, 1 Jun 2022 12:51:27 +0400 Subject: [PATCH] forcing protobuf version --- build/linux/Dockerfile | 2 +- build/windows/WindowsBuilder.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/linux/Dockerfile b/build/linux/Dockerfile index b4349a2..5cb56f4 100644 --- a/build/linux/Dockerfile +++ b/build/linux/Dockerfile @@ -9,7 +9,7 @@ RUN ln -s /usr/bin/python3 /usr/bin/python RUN git clone https://github.com/iperov/DeepFaceLive.git RUN python -m pip install --upgrade pip -RUN python -m pip install onnxruntime-gpu==1.11.1 numpy==1.21.6 h5py numexpr opencv-python==4.5.5.64 opencv-contrib-python==4.5.5.64 pyqt6==6.3.0 onnx==1.11.0 torch==1.8.1 torchvision==0.9.1 +RUN python -m pip install onnxruntime-gpu==1.11.1 numpy==1.21.6 h5py numexpr protobuf==3.20.1 opencv-python==4.5.5.64 opencv-contrib-python==4.5.5.64 pyqt6==6.3.0 onnx==1.11.0 torch==1.8.1 torchvision==0.9.1 WORKDIR /app/DeepFaceLive COPY example.sh example.sh diff --git a/build/windows/WindowsBuilder.py b/build/windows/WindowsBuilder.py index 30eee3d..98cb9fb 100644 --- a/build/windows/WindowsBuilder.py +++ b/build/windows/WindowsBuilder.py @@ -474,6 +474,7 @@ def build_deepfacelive_windows(release_dir, cache_dir, python_ver='3.7.9', backe builder.install_pip_package('numpy==1.21.6') 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.5.5.64') builder.install_pip_package('opencv-contrib-python==4.5.5.64') builder.install_pip_package('pyqt6==6.3.0')