Skip to content
g21589 edited this page Apr 22, 2017 · 17 revisions

MyNote

Linux Note

Find string in all files

grep -r 'string' /path

Compare two dirs (test1, test2)

diff -rN test1 test2

Find and replace a string in all files

find /path -type f -exec sed -i 's/oldstr/newstr/g' {} \;

Find the Linux version

cat /proc/version
uname -a
lsb_release -a
cat /etc/redhat-release
cat /etc/issue

TensorFlow Note

https://autodiff-workshop.github.io/slides/JeffDean.pdf
https://developers.googleblog.com/2017/03/xla-tensorflow-compiled.html
http://ci.tensorflow.org/
https://ci.tensorflow.org/view/Nightly/job/nightly-matrix-linux-gpu/TF_BUILD_IS_OPT=OPT,TF_BUILD_IS_PIP=PIP,TF_BUILD_PYTHON_VERSION=PYTHON2,label=gpu-linux/

tfexample_decoder

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/slim/python/slim/data/tfexample_decoder.py

Clone this wiki locally