Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doku:deep_learning [2020/04/24 09:20] shdoku:deep_learning [2020/04/24 10:37] (current) – [Deep Learning (DL)] ir
Line 1: Line 1:
 ====== Deep Learning (DL) ====== ====== Deep Learning (DL) ======
  
-under construction 
  
 ===== DL and DataLAB community ===== ===== DL and DataLAB community =====
Line 8: Line 7:
 moderated special interest groups in the field of DL. moderated special interest groups in the field of DL.
  
-====== DL modules on VSC-3  ======+===== DL modules on VSC-3  =====
  
-===== Tensorflow =====+==== Tensorflow ====
 Typically on some GPU node, Typically on some GPU node,
 <code> <code>
Line 39: Line 38:
 [someone@n372-003 ~]$  THEANO_FLAGS=device=cuda,floatX=float32 python whatevermyscript.py [someone@n372-003 ~]$  THEANO_FLAGS=device=cuda,floatX=float32 python whatevermyscript.py
 </code> </code>
 +
 +Many users nowadays prefer conda-based installs of DL software. For example on some GPU node,
 +<code>
 +[someone@n372-003 ~]$  module purge 
 +[someone@n372-003 ~]$  module load anaconda3/5.3.0
 +[someone@n372-003 ~]$  module show anaconda3/5.3.0 
 +[someone@n372-003 ~]$  source /opt/sw/x86_64/glibc-2.17/ivybridge-ep/anaconda3/5.3.0/etc/profile.d/conda.sh
 +[someone@n372-003 ~]$  conda activate base
 +(base) [someone@n372-003 ~]$  conda list   ( just to see what packages are currently around )
 +(base) [someone@n372-003 ~]$  conda search tensorflow
 +(base) [someone@n372-003 ~]$  conda create -n mytf "tensorflow 1.14.0 gpu_py37h4491b45_0"
 +                                 --> y   ( say yes to the suggested list of packages to install )
 +(base) [someone@n372-003 ~]$  conda deactivate    ( to get out of the 'base' environment again )
 +[someone@n372-003 ~]$  conda info --envs
 +                          --> mytf      /home/lv123456/someone/.conda/envs/mytf
 +[someone@n372-003 ~]$  conda activate mytf
 +(mytf) [someone@n372-003 ~]$  python
 +Python 3.7.blablabla
 +>>> import tensorflow as tf    ( lots of FutureWarning... but probably not harmful !? )
 +>>> hello = tf.constant('Hello, TensorFlow!')
 +>>> sess = tf.Session()
 +>>> print(sess.run(hello))
 +>>> <CTRL>D
 +(mytf) [someone@n372-003 ~]$  conda deactivate
 +</code>
 +
  
  
  
-  * [[https://www.3ds.com/de/produkte-und-services/simulia/produkte/abaqus/|Simulia ABAQUS]],  
-  * [[https://www.ansys.com/products/fluids/ansys-fluent|ANSYS Fluent]],  
-  * [[https://www.openfoam.com|OpenFOAM]] 
  • doku/deep_learning.1587720020.txt.gz
  • Last modified: 2020/04/24 09:20
  • by sh