File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff 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
118118RUN 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
169169RUN luarocks install nn && \
170+ luarocks install loadcaffe && \
170171 \
171172 cd /root && git clone https://github.com/facebook/iTorch.git && \
172173 cd iTorch && \
Original file line number Diff line number Diff 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
124124RUN 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
175175RUN 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 && \
You can’t perform that action at this time.
0 commit comments