Skip to content

[MRG] caffe install on aws image #2

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

eickenberg
Copy link
Contributor

What the title says. The script install_caffe.sh does it.

Two points still need addressing:

  • apt-get install asks for permission to install stuff (one has to type 'y'). I guess one can override this.
  • Right now, I do cp Makefile.config.example $CAFFE_DIR/Makefile.config in order to write in our config. @ogrisel you said this may be better done with a patch. That way the rest of the file can change and we will see those changes. How is this best done?


cp Makefile.config.example ../caffe/Makefile.config

cd ../caffe
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I made this script to be executed from the dl-machine folder. It would probably be more robust if I put absolute directories ... was my intention, but I forgot before making the PR)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have a look at similar instructions in install-deeplearning-libraries.sh.

You can follow the pattern:

(cd caffee && run command)

to run the command inside the caffee folder and restore the CWD automatically to the previous state once done with that command.

@ogrisel
Copy link
Contributor

ogrisel commented Aug 4, 2015

Please integrate the installation / build instruction into the main install-deeplearning-libraries.sh script and make sure it is idempotent (if run twice, it still works but completes faster).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants