The State of Machine Learning Frameworks
61–70 of 201 posts
Re: The State of Machine Learning Frameworks
#62We use Pytorch extensively in our startup. We tackle a lot of new research problems as consultants/partners to help develop products or devise new algorithms/models to solve tasks for our customers. We have never regretted our choice to pick Pytorch. I found the article pretty spot on when comparing Tensorflow and Pytorch. The things that have appealed to me about Pytorch are: 1. Extremely easy to debug and work with…
I'll add that it was much easier to install PyTorch with GPU support than it was to install TensorFlow with GPU support - at least that's how it was around November of last year. The PyTorch install was painless, whereas we ended up having to build TF from source to work with out setup. Could be different now as I haven't looked at TF since then.
Re: The State of Machine Learning Frameworks
#63Why engineers like Tensorflow: - More code to check-in (Looks more productive) - More infrastructure, e.g. checkpoints, exporters etc. (Looks like they're doing more work) - Fancy visualizations (Allows them to look impressive while presenting loss plots) - Easier to reuse things others have implemented and still get credit for it (TF model zoo, research repo etc.) Why researchers like pytorch: - Way easier to hack t…
> “More code to check-in (Looks more productive)” Not even bad engineers try to pretend like this is true.
Re: The State of Machine Learning Frameworks
#64If I were to start a theoretical computer vision company today, which would I be better off using?
My very biased opinion: you start with PyTorch because it's easy to develop and debug, and there's no point in having the fastest tools for a model that you can't train properly. Once your model is running, and if/when you start hitting performance bottlenecks, then you consider migrating your model to TensorFlow.
Re: The State of Machine Learning Frameworks
#65Anyone has any opinions on TF2.0? They've released it recently, and it seems like it should be much closer to PyTorch now, but I don't know enough to evaluate it properly. https://www.youtube.com/watch?v=EqWsPO8DVXk
Re: The State of Machine Learning Frameworks
#66Why engineers like Tensorflow: - More code to check-in (Looks more productive) - More infrastructure, e.g. checkpoints, exporters etc. (Looks like they're doing more work) - Fancy visualizations (Allows them to look impressive while presenting loss plots) - Easier to reuse things others have implemented and still get credit for it (TF model zoo, research repo etc.) Why researchers like pytorch: - Way easier to hack t…
With those bullet points, looks like you didn't talk to actual engineers, but rather middle-layer management people.
Re: The State of Machine Learning Frameworks
#67Constraining design by end to end use cases is a remarkably robust and useful process.
PyTorch is way better at having clean engineering abstractions than TensorFlow, but still falls short when things like “forward” or maintaining your own training loop and gradient metadata are necessary concepts for a practitioner’s end to end workflow.
[0]: https://blog.keras.io/user-experience-design-for-apis.html
Re: The State of Machine Learning Frameworks
#68You can just shorten it to "Python dominates research", "C++ dominates industry".
Re: The State of Machine Learning Frameworks
#69Earlier quoted context omitted.
> “More code to check-in (Looks more productive)” Not even bad engineers try to pretend like this is true.
Are you saying tensorflow doesn't have more code to check in or that even bad engineers don't pretend that checking in more code looks productive?
Re: The State of Machine Learning Frameworks
#70Earlier quoted context omitted.
Jeremy Howard [0] has some takes here [1], mostly negative if I recall correctly. [0] https://www.fast.ai/about/ [1] https://www.youtube.com/watch?v=J6XcP4JOHmk&t=4152s
Wouldn't the CEO of Fast AI, a library using PyTorch, be slightly biased?