Google just released a fantastic-looking deep learning library called
complete with tutorials, and model-zoo-like examples.
Fortunately, the framework is very reminiscent of
Theano, and has a Python front-end over
a computation graph construction machine in C++ / CUDA (no OpenCL as far as I can tell).
Google has listened to reason, and updated the TensorFlow contribution policy.
There’s still the Google CLA to fill out, but otherwise it’s now through GitHub PRs (phew!).
One thing, though, is that contributions to the project have to go over googlesource, rather than GitHub, and I put together a quick self-reminder post:
Contributing to TensorFlow
Sign the Google CLA (and remember the email that you used to do so)
Go to Googlecode’s Gerrit site
git clonethe repository from there (not GitHub version, which is may be a mirror, but probably will have the wrong
origin), clicking the
Clone with commit-msg hookand
httplabels to create the right command line to copy-paste into a (Linux) terminal window. For me this looked like :
- Since we’re going to be using the
httpversion for pushing
gitcommits, set up ‘git cookies’ for
gitto use when connecting with the Gerrit server when pushing :
- In the top-right corner of the Gerrit site, clicking on your username will bring up a dropdown with ‘Settings’.
- Go into the Settings, and then choose ‘HTTP Password’ from the menu on the left hand side.
- This should take you to this page, which contains a single link titled ‘Obtain HTTP’.
- Clicking on this link will give you some code (specific to your username) to copy-paste into a (Linux) terminal window. For me this looked like :
- Now for one last piece of house-keeping on your local machine : Update your
user.emailfor this git repo to match your CLA / googlecode user login:
(FINALLY!) Make edits (it looks like you can even do this in the
masterbranch on your local machine, since Gerrit will auto-magically create an upstream phantom branch during code review)
commitin the usual way :
- And the final push up to a branch that Gerrit creates by ‘magic’ :
Waiting on Google code-review…
And apparently it works!
blog comments powered by Disqus