1 Star 0 Fork 0

xukuitao / faceswap

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile.gpu 625 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM tensorflow/tensorflow:latest-gpu-py3
RUN apt-get update -qq -y \
&& apt-get install -y libsm6 libxrender1 libxext-dev python3-tk\
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /opt/
RUN pip3 install cmake
RUN pip3 install dlib --install-option=--yes --install-option=USE_AVX_INSTRUCTIONS
RUN pip3 --no-cache-dir install -r /opt/requirements.txt && rm /opt/requirements.txt
# patch for tensorflow:latest-gpu-py3 image
RUN cd /usr/local/cuda/lib64 \
&& mv stubs/libcuda.so ./ \
&& ln -s libcuda.so libcuda.so.1 \
&& ldconfig
WORKDIR "/notebooks"
CMD ["/run_jupyter.sh", "--allow-root"]
Python
1
https://gitee.com/xukuitao/faceswap.git
git@gitee.com:xukuitao/faceswap.git
xukuitao
faceswap
faceswap
master

搜索帮助