Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

making google model run #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 11 additions & 3 deletions Dockerfile
Expand Up @@ -38,8 +38,9 @@ RUN apt-get install -y libjpeg62
RUN apt-get install -y libatlas-base-dev

# Install Caffe
ADD caffe-master /caffe-master

#ADD caffe-master /caffe-master
RUN git clone --depth 1 https://github.com/BVLC/caffe.git /caffe-master
ADD caffe-master/Makefile.config /caffe-master/Makefile.config
RUN cd /caffe-master && make && make distribute

# Set caffe to be in the python path
Expand All @@ -52,11 +53,18 @@ ADD caffe-ld-so.conf /etc/ld.so.conf.d/
# Run ldconfig again (not sure if needed)
RUN ldconfig

# installing MathJax
RUN wget https://github.com/mathjax/MathJax/archive/v2.5-latest.zip -O /mathjax.zip
RUN python -m IPython.external.mathjax /mathjax.zip

# install google model
RUN wget http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel -O /caffe-master/models/bvlc_googlenet/bvlc_googlenet.caffemodel

# Copy the notebook into the container
ADD dream.ipynb /notebooks/

ADD notebook.sh /

RUN chmod u+x /notebook.sh

CMD ["/notebook.sh"]
CMD ["/notebook.sh"]
2,335 changes: 0 additions & 2,335 deletions caffe-master/.Doxyfile

This file was deleted.

93 changes: 0 additions & 93 deletions caffe-master/.gitignore

This file was deleted.

47 changes: 0 additions & 47 deletions caffe-master/.travis.yml

This file was deleted.

69 changes: 0 additions & 69 deletions caffe-master/CMakeLists.txt

This file was deleted.

19 changes: 0 additions & 19 deletions caffe-master/CONTRIBUTORS.md

This file was deleted.

7 changes: 0 additions & 7 deletions caffe-master/INSTALL.md

This file was deleted.

44 changes: 0 additions & 44 deletions caffe-master/LICENSE

This file was deleted.