Open sieme97 opened 3 years ago
Currently, I have not deployed my model on Android devices. My experience is that correlation operation can only approach real-time when acclerated by parallel computing devices, such as GPU or NPU, etc. This is different from monocular depth networks, which can perform quickly on CPU. I think my future work will consider this application problem.
Can't we use mobile gpu?
Of course we can use. The Android device with mobile gpu is ideal, and is the trend. The deployment takes some engineering work.
Thanks for your response. So this means we can't convert the trained models to tflite version directly?
You can load provided pre-trained weights in PyTorch and convert them to the TFLite or ONNX for deployment.
How to take care of correlation operation when converting the model to tflite?
I have not tried using TFLite. According to my experience, correlation and warping are not standard operations integrated in existing packages. And you should create custom layers to deploy it, which can be referred to documents and examples of TFLite.
@ltkong218 thanks for your advice. When considering pruned and deployed on mobile phone devices, which model/algorithm would you recommend to use ?
Oh, I have not consider pruning yet, that may be a future work.
Hi @sieme97 , @dragen1860, did you manage to run FastFlowNet on Android? I'm also interested in this.
Have you tried deploying your model on android?