tensorflow installation and use notes

1. Installation:

The easiest way is to install via pip,

step1, install pip: yum install python-pip

step2, install tensorflow through pip: pip install tensorflow=1.5

tensorflow 1.6 starts the release package to use the AVX instruction set, if the cpu does not support it (passed under linux)

cat /proc/cpuinfo|grep avx

See if it is supported, no output means not supported), please specify the version number of tensorflow, my server is old, and all use 1.5.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325951299&siteId=291194637