This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
cs501r_f2016:openlabtf [2016/09/20 22:13] wingated created |
cs501r_f2016:openlabtf [2021/06/30 23:42] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====Tensorflow on open lab machines==== | ||
| + | |||
| Here are some notes for getting Tensorflow installed and running on the open lab machines. | Here are some notes for getting Tensorflow installed and running on the open lab machines. | ||
| First of all, you can always just use my anaconda installation, which already has Tensorflow 0.10 installed. It can be found at | First of all, you can always just use my anaconda installation, which already has Tensorflow 0.10 installed. It can be found at | ||
| - | '/users/faculty/wingated/anaconda2' | + | ''/users/faculty/wingated/anaconda2'' |
| - | In order to use it, you should be able to add the following line to your '~/.bashrc': | + | In order to use it, you should be able to add the following line to your ''~/.bashrc'': |
| - | 'export PATH="/users/faculty/wingated/anaconda2/bin:$PATH"' | + | ''export PATH="/users/faculty/wingated/anaconda2/bin:$PATH"'' |
| - | If for whatever reason you would like your own anaconda installation, here are the exact steps I took to install it: | + | If for whatever reason you would like your own anaconda installation, here are the exact steps I took to install it and Tensorflow: |
| <code bash> | <code bash> | ||
| Line 23: | Line 25: | ||
| </code> | </code> | ||
| - | (When anaconda asks you if you want it to modify your '.bashrc', I answered yes) | + | (When anaconda asks you if you want it to modify your ''.bashrc'', I answered yes. All it does is append that PATH modification line.) |
| Note that this installs the CPU-only version. | Note that this installs the CPU-only version. | ||
| - | Note that no 'sudo' commands are used -- that's because the 'pip' commands I used were the anaconda ones. | + | Note that no ''sudo'' commands are used -- that's because the ''pip'' commands I used were the anaconda ones. |
| ---- | ---- | ||
| Line 33: | Line 35: | ||
| Fellow lab mate Darin Costello reports that the following worked for him: given a working anaconda install, he used | Fellow lab mate Darin Costello reports that the following worked for him: given a working anaconda install, he used | ||
| - | 'conda install -c conda-forge tensorflow' | + | ''conda install -c conda-forge tensorflow'' |