Live data from Hacker News

TensorFlow: open-source library for machine intelligence

tensorflow.org

21–30 of 211 posts

Re: TensorFlow: open-source library for machine intelligence

#22
post #11
post #2

> The TensorFlow Python API requires Python 2.7 The whole scientific Python stack is available for Python 3. This seems like a somewhat backwards thing to do -- or perhaps the requirement is intended to mean at least 2.7? Edit: added context Edited again: More careful wording

This "backwards" meme doesn't make any sense. Python 2 and Python 3 are different languages that happen to share the same name, a lot of syntax, and near-source compatibility, but they've been developed concurrently for ten years now. It's kind of like C and C++. If the current Python 2 team (which is part of the Python Software Foundation) abandons it, probably somebody else will take over maintenance, because it se…

Let me start by saying I understand what you're saying. I understand why what you're saying is true. However, many people see (and consequently think) this:

"Short version: Python 2.x is legacy, Python 3.x is the present and future of the language"

... which was lifted from https://wiki.python.org/moin/Python2orPython3. It follows that some people would think something along the lines of "...so this library was built for legacy Python?"

Re: TensorFlow: open-source library for machine intelligence

#23
post #11
post #2

> The TensorFlow Python API requires Python 2.7 The whole scientific Python stack is available for Python 3. This seems like a somewhat backwards thing to do -- or perhaps the requirement is intended to mean at least 2.7? Edit: added context Edited again: More careful wording

This "backwards" meme doesn't make any sense. Python 2 and Python 3 are different languages that happen to share the same name, a lot of syntax, and near-source compatibility, but they've been developed concurrently for ten years now. It's kind of like C and C++. If the current Python 2 team (which is part of the Python Software Foundation) abandons it, probably somebody else will take over maintenance, because it se…

The Python Software Foundation has stated explicitly that Python 2.7 will EOL in 2020...

Re: TensorFlow: open-source library for machine intelligence

#24

How does TensorFlow compare to Torch7 ( http://torch.ch )? They look very similar to me.

Actually, this looks much more like Theano to me. It's all symbolic, it has symbolic differentiation, it's Python and it even seems to have a similar API like Theano.

In the Whitepaper (http://download.tensorflow.org/paper/whitepaper2015.pdf), it's compared to Theano, Torch and others.

Re: TensorFlow: open-source library for machine intelligence

#25

How does TensorFlow compare to Torch7 ( http://torch.ch )? They look very similar to me.

TensorFlow seems to emphasise the distributed computing aspects a lot more compared to Torch7. Also, TensorFlow is made for deploying machine learning pipelines in general, whereas Torch7 focuses on deep neural networks specifically.

Re: TensorFlow: open-source library for machine intelligence

#26
"TensorFlow is an Open Source Software Library for Machine Intelligence" and then later "TensorFlow™ is an open source software library for numerical computation using data flow graphs."

So it seems to be a dataflow computation library that is being used for AI/learning. Since I know almost nothing about either, I'm wondering if this (dataflow) approach has other applications unrelated to deep learning. Any comments?

Also, i wonder if this could be implemented in hardware - say on a FPGA?

Re: TensorFlow: open-source library for machine intelligence

#27
post #15
post #6

> This open source release supports single machines and mobile devices. Can someone clarify if "single machines" means the Apache license only applies to single machines and not distributed systems? Sidenote: I wish every open source project had a release video.

There's a note on the site about being able to move computation to a process on a different machine, but it does mention copying the model. If I understand correctly, I think models tend to be quite small, though. Does it actually make sense to train a model simultaneously on different machines? I can understand running the same model on lots of machines, of course.

I was interested in whether the license only permits a single machine.

Re: TensorFlow: open-source library for machine intelligence

#28
This is awesome, thanks so much for sharing this - and I love how whimsical the docs are:

Our pond is a perfect 500 x 500 square, as is the case for most ponds found in nature.

A feedback on the PDE aspect: is there any nice way to write your model and grid using TensorFlow, and still obtain the free derivatives/optimized computation graph if you use a different solver to actually integrate the equations? The example shows off a very simple toy first order Euler solver, but in practice this is grossly inadequate. I suspect that it's very difficult if not impossible - especially since most solver libraries are very old Fortran libs, and carrying forward the reverse mode differentiation there is a nightmare. Still, this makes for very nice building blocks.

Another question - would you consider adding an example of using this together with Google Ceres - to make the two autodiffs play nice together?

Re: TensorFlow: open-source library for machine intelligence

#30
post #7
post #2

> The TensorFlow Python API requires Python 2.7 The whole scientific Python stack is available for Python 3. This seems like a somewhat backwards thing to do -- or perhaps the requirement is intended to mean at least 2.7? Edit: added context Edited again: More careful wording

We're looking to support Python 3 -- there are a few changes we are aware of that are required, and we welcome contributions to help! Tracking here: https://github.com/tensorflow/tensorflow/issues/1

Python 3 is very much needed! <3 because it's issue #1 :)
Post reply on HN