1 Star 0 Fork 25

待定90 / deoldify

forked from Gitee 极速下载 / deoldify 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 973 Bytes
一键复制 编辑 原始数据 按行查看 历史
From nvcr.io/nvidia/pytorch:19.04-py3
RUN apt-get -y update
RUN apt-get install -y python3-pip software-properties-common wget ffmpeg
RUN add-apt-repository ppa:git-core/ppa
RUN apt-get -y update
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
RUN apt-get install -y git-lfs --allow-unauthenticated
RUN git lfs install
ENV GIT_WORK_TREE=/data
RUN mkdir -p /root/.torch/models
RUN mkdir -p /data/models
RUN wget -O /root/.torch/models/vgg16_bn-6c64b313.pth https://download.pytorch.org/models/vgg16_bn-6c64b313.pth
RUN wget -O /root/.torch/models/resnet34-333f7ec4.pth https://download.pytorch.org/models/resnet34-333f7ec4.pth
RUN wget -O /data/models/ColorizeArtistic_gen.pth https://www.dropbox.com/s/zkehq1uwahhbc2o/ColorizeArtistic_gen.pth?dl=0
ADD . /data/
WORKDIR /data
RUN pip install -r requirements.txt
RUN cd /data/test_images && git lfs pull
EXPOSE 8888
ENTRYPOINT ["sh", "/data/run_notebook.sh"]
1
https://gitee.com/z90/deoldify.git
git@gitee.com:z90/deoldify.git
z90
deoldify
deoldify
master

搜索帮助