Wednesday, November 30, 2016

ONTAP implementation guide

http://www.netapp.com/us/media/tr-4067.pdf

Linux: Kernel module

https://wiki.archlinux.org/index.php/Kernel_modules

RHEL 6
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Persistent_Module_Loading.html

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Setting_Module_Parameters.html


RHEL 7
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sec-Persistent_Module_Loading.html


Thursday, November 24, 2016

Python : with Pillow installed matplotlib can handle more images

ValueError: Only know how to handle extensions: ['png']; with Pillow installed matplotlib can handle more images

Solution : pip install pillow

Wednesday, November 16, 2016

Python : regular expression

https://regex101.com

^[1-9]\d*[G]$

^ asserts position at start of the string
Match a single character present in the list below
[1-9]
1-9 a single character in the range between 1(ASCII 49) and 9 (ASCII 57) (case sensitive)

\d*
 matches a digit (equal to [0-9])
* Quantifier — Matches between zero and unlimited times, as many times as possible, giving back as needed (greedy)
Match a single character present in the list below
[G]
G matches the character G literally (case sensitive)
$ asserts position at the end of the string

a{3}
Matches exactly 3 consecutive `a` characters

^(?!root|0).*$
cannot start with root or 0


Saturday, November 12, 2016

Caffe : draw_net.py


Ubuntu : 14.04
 
In order to run draw_net.py

sudo apt-get install cython

sudo pip install protobuf

sudo easy_install -U setuptools

sudo pip install cython –upgrade

sudo pip install matplotlib

sudo pip install scikit-image

sudo pip install pydot

sudo apt-get install GraphViz

python python/draw_net.py models/bvlc_reference_caffenet/deploy.prototxt caffenet.png