Submitted by CodaholicCorgi t3_z50vvq in MachineLearning
Hi folks,
I know this question is kept being asked for many times, but as time change, and Pytorch is getting more favorable everywhere, I want to bring this one on the table again.
Assuming that you are building AI products (deployment is a must!), do you prefer TensorFlow or Pytorch in your codebase and why?
For me (and most likely a lot of people out there), I prefer training and developing my models in Pytorch (ease of debugging and customizing). But if that's a case, is there any option to deploy the .pt
models? Even if we need .tflite
for mobile deployment?
Thanks in advance!
Deep-Station-1746 t1_ixu2bxb wrote
First, PlayTorch is a thing. That could replace tflite for mobile.
Second, you can use ONNX to transfer models from pt to tf, then to tflite.
Last but not least, if you are a REAL MAN, you can try to translate the model weights to tf by hand, using numpy as an intermediary.