forked from ml5js/training-styletransfer
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (21 loc) · 779 Bytes
/
Dockerfile
File metadata and controls
29 lines (21 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM tensorflow/tensorflow:1.4.1-gpu
LABEL maintainer="Cris Valenzuela <cv965@nyu.edu>"
RUN apt-get update
RUN apt-get install wget -y
RUN apt-get update && apt-get install -y software-properties-common
# Install "ffmpeg"
RUN add-apt-repository ppa:mc3man/xerus-media
RUN apt-get update && apt-get install -y ffmpeg
# Copy all files in directory
# COPY . /styletransfer
RUN mkdir /styletransfer
COPY requirements.txt /styletransfer
WORKDIR "/styletransfer"
# Install dependencies
RUN pip install -r requirements.txt
RUN mkdir /styletransfer/data
WORKDIR "/styletransfer/data"
RUN wget http://www.vlfeat.org/matconvnet/models/beta16/imagenet-vgg-verydeep-19.mat
# RUN wget http://images.cocodataset.org/zips/train2014.zip
# RUN unzip train2014.zip
WORKDIR "/styletransfer"