Translations:Tutoriel Apprentissage machine/40/en

From Alliance Doc
Revision as of 15:10, 7 October 2019 by Stubbsda (talk | contribs) (Created page with "* Create and activate a virtual environment in <tt>$SLURM_TMPDIR</tt> (this variable points to a directory on the local dis...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

$ virtualenv --no-download $SLURM_TMPDIR/env

  • Install the modules that you will need. For TensorFlow, install the module tensorflow_gpu; it is a version of this software optimized for Compute Canada clusters.
  • Try to run your program.
  • Install any missing modules if necessary.
  • Create a file requirements.txt in order to recreate this virtual environment:

(env) $ pip freeze > ~/requirements.txt