3 ms·
Why would I use tensorflow when pytorch exists?
by rubatuga 6y ago
Why would I use tensorflow when pytorch exists?
- fxtentacle 6y agoBecause you're Google? Or you work with them or their partners? Or because you like their approach? Also, in my experience an optimized XLA export is usually faster than Pytorch.
- marcyb5st 6y agoDisclaimer, I work for Google, but not on Tensorflow. I agree that in TF 1.x the ergonomics are/were bad, but things improved considerably in TF 2.x. In the case you don't like that either, the tf.keras package offer another more friendlier option that integrates well with the other tf packages (e.g. tf.data, tf.estimators, ...). Finally, I believe the decision also depends on your use case: If you are just experimenting, maybe PyTorch gets to your results faster. However, I also I think that being able to use TFX (https://www.tensorflow.org/tfx https://www.tensorflow.org/tfx) seamlessly saves you a lot of time when you need to put your models in production.
- alibrarydweller 6y agoAs someone who has been trying to set up a simple use case of TFX for six months I respectfully disagree :)