mirror of
https://github.com/zebrajr/faceswap.git
synced 2025-12-06 00:20:09 +01:00
Add python3.8-tk to Dockerfile.gpu and fixed documentation regarding docker launch (#1118)
Co-authored-by: Mathias Hedberg <mathias@hedberg.io>
This commit is contained in:
parent
15bbc95955
commit
da5f69319d
|
|
@ -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
|
||||
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user