06/14/18 [x3domlet][master] by Oleg Dzhimiev: rewritten to php
Oleg Dzhimiev committed changes to the Elphel git project :
rewritten to php
rewritten to php
06/14/18 [x3domlet][master] by Oleg Dzhimiev: 1. full screen 2. play N images
Oleg Dzhimiev committed changes to the Elphel git project :
1. full screen 2. play N images
1. full screen 2. play N images
06/14/18 [x3domlet][master] by Oleg Dzhimiev: 1. save kml records based on timestamp rather than unique icon name
Oleg Dzhimiev committed changes to the Elphel git project :
1. save kml records based on timestamp rather than unique icon name
1. save kml records based on timestamp rather than unique icon name
Tensorflow with gpu
Testing setup
← Older revision Revision as of 16:28, 14 June 2018 (2 intermediate revisions by the same user not shown)Line 1: Line 1: ==Requirements== ==Requirements== * Kubuntu 16.04.4 LTS * Kubuntu 16.04.4 LTS −==Setup==+==Setup (guide)== +* Just follow [http://www.python36.com/install-tensorflow141-gpu/ '''this guide'''] +==Setup (some details)== * Check device * Check device <font size='2'><b>~$ lspci | grep NVIDIA</b> <font size='2'><b>~$ lspci | grep NVIDIA</b> Line 87: Line 89: * Unsupported card '''GeForce GT 610''' * Unsupported card '''GeForce GT 610''' − ~$ python3+ '''~$ python3''' Python 3.5.2 (default, Nov 23 2017, 16:37:01) Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609] on linux [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. Type "help", "copyright", "credits" or "license" for more information. − >>> import tensorflow as tf+ '''>>> import tensorflow as tf''' − >>> hello = tf.constant('Hello, World!') + '''>>> hello = tf.constant('Hello, World!')''' − >>> sess = tf.Session() + '''>>> sess = tf.Session()''' 2018-04-26 13:00:19.050625: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2018-04-26 13:00:19.050625: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2018-04-26 13:00:19.181581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1344] Found device 0 with properties: 2018-04-26 13:00:19.181581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1344] Found device 0 with properties: Line 103: Line 105: 2018-04-26 13:00:19.181683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:917] 0 2018-04-26 13:00:19.181683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:917] 0 2018-04-26 13:00:19.181695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0: N 2018-04-26 13:00:19.181695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0: N − >>> print(sess.run(hello)) + '''>>> print(sess.run(hello))''' b'Hello, World!' b'Hello, World!' OlegTensorflow with gpu
Testing setup
Show changes Oleg06/13/18 [python3-imagej-tiff][master] by Oleg Dzhimiev: preparing to feed nn
Oleg Dzhimiev committed changes to the Elphel git project :
preparing to feed nn
preparing to feed nn
Tensorflow with gpu
← Older revision
Revision as of 22:25, 13 June 2018
(13 intermediate revisions by the same user not shown)Line 1:
Line 1:
−==Pre==+==Requirements==
−* check device+* Kubuntu 16.04.4 LTS
− ~$ lspci | grep NVIDIA+==Setup==
+* Check device
+ <font size='2'><b>~$ lspci | grep NVIDIA</b>
81:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1) 81:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)
− 81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)+ 81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)</font>
−* check driver version+
− ~$ cat /proc/driver/nvidia/version+* Check driver version:
+ <font size='2'><b>~$ cat /proc/driver/nvidia/version</b>
NVRM version: NVIDIA UNIX x86_64 Kernel Module 387.26 Thu Nov 2 21:20:16 PDT 2017 NVRM version: NVIDIA UNIX x86_64 Kernel Module 387.26 Thu Nov 2 21:20:16 PDT 2017
− GCC version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)+ GCC version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)</font>
−* install cuda 9.0 with patches
− https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal
−* then
− sudo apt-get install cuda-9-2 # included on that NVidia page
− https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions+* Install cuda 9.2 with patch(es):
−*+ <font size='2'>https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal:
− ~$ export PATH=/usr/local/cuda-9.2/bin${PATH:+:${PATH}}+ <b>~$ sudo dpkg -i cuda-repo-ubuntu1604-9-2-local_9.2.88-1_amd64.deb
− ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}+ ~$ sudo apt-key add /var/cuda-repo-9-2-local/7fa2af80.pub
−*+ ~$ sudo apt-get update
− ~$ nvidia-smi + ~$ sudo apt-get install cuda</b>
− Thu Apr 26 12:39:25 2018 + <b># INSTALL THE PATCH(ES)</b></font>
+
+* Might need to reboot PC. If cuda 9.2 got installed over other version, nvidia tools will be throwing errors about driver versions mismatching, try
+ <font size='2'><b>~$ nvidia-smi</b></font>
+Good looking output:
+ <font size='2'>Wed Jun 13 15:55:44 2018
+-----------------------------------------------------------------------------+ +-----------------------------------------------------------------------------+
− | NVIDIA-SMI 387.26 Driver Version: 387.26 |+ | NVIDIA-SMI 396.26 Driver Version: 396.26 |
|-------------------------------+----------------------+----------------------+ |-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================| |===============================+======================+======================|
− | 0 GeForce GT 610 Off | 00000000:81:00.0 N/A | N/A |+ | 0 GeForce GTX 750 Ti Off | 00000000:01:00.0 On | N/A |
− | N/A 31C P8 N/A / N/A | 148MiB / 956MiB | N/A Default |+ | 33% 36C P8 1W / 46W | 229MiB / 2000MiB | 0% Default |
+-------------------------------+----------------------+----------------------+ +-------------------------------+----------------------+----------------------+
Line 34:
Line 38:
| GPU PID Type Process name Usage | | GPU PID Type Process name Usage |
|=============================================================================| |=============================================================================|
− | 0 Not Supported |+ | 0 1305 G /usr/lib/xorg/Xorg 136MiB |
− +-----------------------------------------------------------------------------++ | 0 3587 G /usr/bin/krunner 1MiB |
+ | 0 3590 G /usr/bin/plasmashell 67MiB |
+ | 0 3693 G /usr/bin/plasma-discover 20MiB |
+ +-----------------------------------------------------------------------------+</font>
+
+* Check out post installation docs:
+ <font size='2'>https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions:
+ # Export paths
+ <b>~$ export PATH=/usr/local/cuda-9.2/bin${PATH:+:${PATH}}
+ ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}</b></font>
−* install tensorflow+* Install TensorFlow:
+ <font size='2'># docs:
+ # - https://www.tensorflow.org/install/install_linux
+ # some instructions:
~$ sudo apt-get install python3-pip # if it is not already installed ~$ sudo apt-get install python3-pip # if it is not already installed
−
~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl
Oleg
06/13/18 [imagej-elphel][gpu] by AndreyFilippov: refactoring, fighting small bugs
AndreyFilippov committed changes to the Elphel git project :
refactoring, fighting small bugs
refactoring, fighting small bugs
06/12/18 [python3-imagej-tiff][master] by Oleg Dzhimiev: pack tiles inside nested list comprehension
Oleg Dzhimiev committed changes to the Elphel git project :
pack tiles inside nested list comprehension
pack tiles inside nested list comprehension
06/12/18 [python3-imagej-tiff][master] by Oleg Dzhimiev: pack tile class
Oleg Dzhimiev committed changes to the Elphel git project :
pack tile class
pack tile class
06/12/18 [python3-imagej-tiff][master] by Oleg Dzhimiev: +2 tests
Oleg Dzhimiev committed changes to the Elphel git project :
+2 tests
+2 tests
06/12/18 [imagej-elphel][gpu] by AndreyFilippov: More work on poles
AndreyFilippov committed changes to the Elphel git project :
More work on poles
More work on poles
Eyesis4Pi 393 User Guide - Recording
← Older revision
Revision as of 17:50, 12 June 2018
Line 22:
Line 22:
$ chmod 777 settings.xml $ chmod 777 settings.xml
This file restores the settings from previous session.</font> This file restores the settings from previous session.</font>
+
+===Dependencies===
+* php5.6-xml
+ ~$ sudo apt install php5.6-xml
+ ~$ sudo service restart apache2
== Equipment/Package == == Equipment/Package ==
Oleg
06/10/18 [imagej-elphel][dct] by AndreyFilippov: Developing street pole distance measurement with dual-quad rig
AndreyFilippov committed changes to the Elphel git project :
Developing street pole distance measurement with dual-quad rig
Developing street pole distance measurement with dual-quad rig
06/08/18 [imagej-elphel][gpu] by AndreyFilippov: Working on pole detection
AndreyFilippov committed changes to the Elphel git project :
Working on pole detection
Working on pole detection
06/07/18 [python3-imagej-tiff][master] by Oleg Dzhimiev: packing data, initial
Oleg Dzhimiev committed changes to the Elphel git project :
packing data, initial
packing data, initial
06/07/18 [python3-convert-jp4][master] by Oleg Dzhimiev: + batch conversion
Oleg Dzhimiev committed changes to the Elphel git project :
+ batch conversion
+ batch conversion
06/07/18 [imagej-elphel][gpu] by AndreyFilippov: vertical averaging after 2d-correlation notch filter
AndreyFilippov committed changes to the Elphel git project :
vertical averaging after 2d-correlation notch filter
vertical averaging after 2d-correlation notch filter
Pages
