by 50CNT · 10y ago · 0 comments
TensorFlow is admirably easier to install than some other frameworks
I thought most frameworks are fairly easy to install in python, usually with a single call to pip. NLTK takes one "pip install nltk" and then "python", "import nltk", "nltk.download()" to download all the corpuses and miscellaneous data. Installing tensorflow seems complicated compared to that. # Ubuntu/Linux 64-bit, CPU only:
$ sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
# Ubuntu/Linux 64-bit, GPU enabled. Requires CUDA toolkit 7.5 and CuDNN v4. For
# other versions, see "Install from sources" below.
$ sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
Not that either are particularly complicated, but saying other frameworks (assuming they're referring to python frameworks) are "a lot harder to install" seems disingenuous.That said, I haven't played around with AI frameworks too much, so I might just be missing a real stinker.
I found these helpful (on AWS)
- http://ramhiser.com/2016/01/05/installing-tensorflow-on-an-a...
- http://tleyden.github.io/blog/2015/11/22/cuda-7-dot-5-on-aws...
of course you don't need to install CUDA just to learn, can run tensorflow on CPU only, but part of the point of the graph paradigm is to design a computation and offload it to GPU.
It honestly looks like pretty cool stuff, looking forward to having time to play around with it some day.
By comparison, here's what you need to install (manually!) for Torch on OSX:
Homebrew
Xcode
cmake
wget
readline
QT
ffmpeg
gnuplot
opencv
CUDA (and there's a whole other thread trying to get that to work..)
http://e-lab.github.io/html/wiki-torch7-installation.html