Skip to content

Commit

Permalink
Add python3.8-tk to Dockerfile.gpu and fixed documentation regarding …
Browse files Browse the repository at this point in the history
…docker launch (deepfakes#1118)

Co-authored-by: Mathias Hedberg <[email protected]>
  • Loading branch information
metrafonic and metrafonic authored Jan 23, 2021
1 parent 15bbc95 commit da5f693
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN add-apt-repository ppa:deadsnakes/ppa -y
RUN apt-get update
RUN apt install python3.8 -y
RUN apt install python3.8-distutils -y
RUN apt install python3.8-tk -y
RUN apt install curl -y
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
RUN python3.8 get-pip.py
Expand All @@ -24,4 +25,4 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN alias python=python3.8
RUN echo "alias python=python3.8" >> /root/.bashrc
WORKDIR "/notebooks"
CMD ["jupyter-notebook", "--allow-root" ,"--port=8888" ,"--no-browser" ,"--ip=0.0.0.0"]
CMD ["jupyter-notebook", "--allow-root" ,"--port=8888" ,"--no-browser" ,"--ip=0.0.0.0"]
4 changes: 3 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,9 @@ INFO 1. Install Docker
deepfakes-gpu
1. Open a new terminal to interact with the project
docker exec faceswap-gpu python /srv/faceswap.py gui
docker exec -it deepfakes-gpu /bin/bash
# Launch deepfakes gui (Answer 3 for NVIDIA at the prompt)
python3.8 /srv/faceswap.py gui
```

A successful setup log, without docker.
Expand Down

0 comments on commit da5f693

Please sign in to comment.