Skip to content

Commit 906a0b0

Browse files
committed
install loadcaffe
1 parent 5055942 commit 906a0b0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile.cpu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ RUN apt-get update && apt-get install -y \
114114
apt-get autoremove && \
115115
rm -rf /var/lib/apt/lists/*
116116

117-
# Install Caffe
117+
# Install Caffe
118118
RUN git clone -b ${CAFFE_VERSION} --depth 1 https://github.com/BVLC/caffe.git /root/caffe && \
119119
cd /root/caffe && \
120120
cat python/requirements.txt | xargs -n1 pip install && \
@@ -167,6 +167,7 @@ ENV LUA_CPATH='/root/torch/install/lib/?.so;'$LUA_CPATH
167167

168168
# Install the latest versions of nn, and iTorch
169169
RUN luarocks install nn && \
170+
luarocks install loadcaffe && \
170171
\
171172
cd /root && git clone https://github.com/facebook/iTorch.git && \
172173
cd iTorch && \

Dockerfile.gpu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ RUN apt-get update && apt-get install -y \
120120
apt-get autoremove && \
121121
rm -rf /var/lib/apt/lists/*
122122

123-
# Install Caffe
123+
# Install Caffe
124124
RUN git clone -b ${CAFFE_VERSION} --depth 1 https://github.com/BVLC/caffe.git /root/caffe && \
125125
cd /root/caffe && \
126126
cat python/requirements.txt | xargs -n1 pip install && \
@@ -175,6 +175,7 @@ ENV LUA_CPATH='/root/torch/install/lib/?.so;'$LUA_CPATH
175175
RUN luarocks install nn && \
176176
luarocks install cutorch && \
177177
luarocks install cunn && \
178+
luarocks install loadcaffe && \
178179
\
179180
cd /root && git clone https://github.com/soumith/cudnn.torch.git && cd cudnn.torch && \
180181
git checkout R4 && \

0 commit comments

Comments
 (0)