forked from deepfakes/faceswap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gpu support for docker (deepfakes#365)
- Loading branch information
Showing
4 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM tensorflow/tensorflow:latest-gpu-py3 | ||
|
||
RUN apt-get update -qq -y \ | ||
&& apt-get install -y cmake libsm6 libxrender1 libxext-dev python3-tk\ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
COPY requirements-docker-gpu.txt /opt/ | ||
RUN pip3 --no-cache-dir install -r /opt/requirements-docker-gpu.txt && rm /opt/requirements-docker-gpu.txt | ||
|
||
WORKDIR "/notebooks" | ||
CMD ["/run_jupyter.sh", "--allow-root"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
pathlib==1.0.1 | ||
scandir==1.6 | ||
h5py==2.7.1 | ||
Keras==2.1.2 | ||
opencv-python==3.3.0.10 | ||
scikit-image | ||
dlib | ||
face_recognition | ||
tqdm | ||
matplotlib |