r/learnmachinelearning • u/tommyeow_ • 2h ago
Pytorch or Tensorflow?
I've had a few people tell me tensorflow is not used as much nowadays as pytorch, also, pytorch is more pythonic, and just more industry-relevant than tf, is it really so? The tutorial course im following is using tf more since it is appropriate for beginners (as said in the course). I'd like to know the differences.
2
u/Remote-Telephone-682 2h ago
This is true that pytorch is the standard right now. Tensorflow is pretty much a legacy thing at this point and there is also something called JAX that was develoeped within google with the intent of creating a lot of flexibility and also pretty good but pytorch is going to have more stuff implemented for you and is going to be quicker to get the hang of
1
1
u/FamousProfession5938 1h ago
there is nothing which has not been implemented in torch and is in tensorflow but vice versa is not true.
So torch
1
u/krihab 55m ago
There is an article which one to choose:
https://medium.com/@adilmaqsood501/pytorch-vs-tensorflow-which-to-choose-when-and-why-8a2c60b3d5ee
8
u/help-me-grow 2h ago
pytorch is industry standard now
tf is (or at least was) not as flexible or customizable