372 points · by adamnemecek · 9y ago · 49 comments
As time passes, PyTorch will probably get better at all of these things, but the core team and surrounding community need to make it a priority.
Meanwhile, Google's investment in TensorFlow will continue, and there's no sign that it will be a bad bet for large-scale deployments... even if PyTorch becomes the favored system for prototyping.
[1]: https://www.tensorflow.org/get_started/summaries_and_tensorb...
[2]: https://www.servethehome.com/google-cloud-tpu-details-reveal...
I don't think there would be a reason why Keras couldn't sit on PyTorch but I can't see any work on this.
Keras is very productive unless you are doing NN research. Also you can also run it using CNTK if you want speed up RNNs which are slower on TF compared with CNTK.
A major advantage of Keras is that if you’re using a standard training scheme (e.g. training a convolutional neural network for image classification), your research will be entirely focused on either the underlying architecture (that’s easily summarized and serialized), your custom layers (my favorite abstraction for convolutional neural networks), and losses. Keras’ abstractions eliminate stuff like IO that I find extremely distracting.
Even FB doesn't use PyTorch in production, and instead uses Caffe2.
It might’ve changed in the past few months as Caffe 2 matured, but there were a few internal applications that used PyTorch.
https://www.oreilly.com/ideas/why-ai-and-machine-learning-re...
Its not exactly a secret that PyTorch's tradeoffs favor research and not production.
Also compare the number of TF and PT questions on SO.
Sorry if this is a stupid question, but can someone explain how symbolic operations allow automatic differentiation or link me to a good explanation?
What 'type' of tensorflow do you recommend for a project starting today -- tf.slim, tf.contrib.keras, 'raw' tensorflow, keras with tensorflow?
I am building a production model so was probably going to use tensorflow because I like the tooling (tensorboard), and ability to write once for production and research.
[1] https://github.com/tensorflow/tensorflow/tree/master/tensorf...