Skip to content

Commit

Permalink
Fix for Effmpeg not working when using Faceswap with Docker (deepfake…
Browse files Browse the repository at this point in the history
…s#732)

* Edited Dockerfiles to include ffmpeg installation for Effmpeg to work

* Edited incorrect command to run Dockerized Faceswap GUI in INSTALL.md
  • Loading branch information
timothydelter authored and torzdf committed May 18, 2019
1 parent 951bb23 commit a90eff9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.cpu
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM tensorflow/tensorflow:1.12.0-py3

RUN apt-get update -qq -y \
&& apt-get install -y libsm6 libxrender1 libxext-dev python3-tk\
RUN add-apt-repository -y ppa:jonathonf/ffmpeg-4 \
&& apt-get update -qq -y \
&& apt-get install -y libsm6 libxrender1 libxext-dev python3-tk ffmpeg \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down
5 changes: 3 additions & 2 deletions Dockerfile.gpu
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM tensorflow/tensorflow:1.12.0-gpu-py3

RUN apt-get update -qq -y \
&& apt-get install -y libsm6 libxrender1 libxext-dev python3-tk\
RUN add-apt-repository -y ppa:jonathonf/ffmpeg-4 \
&& apt-get update -qq -y \
&& apt-get install -y libsm6 libxrender1 libxext-dev python3-tk ffmpeg \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ INFO 1. Install Docker
deepfakes-gpu
5. Open a new terminal to interact with the project
docker exec faceswap-gpu python /srv/tools.py gui
docker exec faceswap-gpu python /srv/faceswap.py gui
```

A successful setup log, without docker.
Expand Down

0 comments on commit a90eff9

Please sign in to comment.