如何在android中使用python预训练模型。我想在android中做类似的卡通效果项目。在android中获得类似的卡通化效果的步骤是什么?大多数项目都在使用python。以下是python中该项目的链接。
卡通- StyleGAN2
https://www.youtube.com/watch?v=7Oqpiaj0IUM
https://colab.research.google.com/drive/1s2XPNMwf6HDhrJ1FMwlW1jl-eQ2-_tlk?usp=sharing
发布于 2021-09-15 23:54:38
要在android中部署机器学习模型,您可以执行以下选项:
1.You can compress your models to smaller size Tensorflow lite files .
参考。
https://www.tensorflow.org/lite/convert
https://github.com/margaretmz/Cartoonizer-with-TFLite
2. You can put your model in TF-Serving/Flask/Django/AWS and use GET/POST method through REST-API to send images and receive results accordingly.
https://stackoverflow.com/questions/69013960
复制