Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
software:tensorflow:caviness [2019-09-03 17:04] – anita | software:tensorflow:caviness [2021-01-27 11:29] – anita | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Tensorflow on Caviness ====== | ====== Tensorflow on Caviness ====== | ||
- | TensorFlow must be used as a container, so the versions of TensorFlow installed on Caviness are provided as containers. | + | TensorFlow must be used as a container, so the versions of TensorFlow installed on Caviness are provided as containers |
<code bash> | <code bash> | ||
Line 33: | Line 33: | ||
</ | </ | ||
- | For example, say your TensorFlow Python script is called '' | + | For example, say your TensorFlow Python script is called '' |
<code bash> | <code bash> | ||
- | $ cp /opt/shared/tensorflow/ | + | $ cp /opt/templates/slurm/ |
</ | </ | ||
- | You will need to modify the copy of '' | + | You will need to modify the copy of '' |
<code bash> | <code bash> | ||
+ | ... | ||
+ | |||
+ | # | ||
+ | # Add a TensorFlow container to the environment: | ||
+ | # | ||
+ | vpkg_require tensorflow/ | ||
+ | |||
# | # | ||
# Execute our TensorFlow Python script: | # Execute our TensorFlow Python script: | ||
# | # | ||
- | python | + | python3 |
</ | </ | ||