[英]How to send data from Firebase to Android/iOS Application and Python
I am currently developing an Android and iOS application that uses Machine Learning.我目前正在开发一个使用机器学习的 Android 和 iOS 应用程序。 This app sends data from the mobile application to the server(most probably Firebase).
此应用程序将数据从移动应用程序发送到服务器(很可能是 Firebase)。 Meanwhile, the machine learning model would be pre-trained using Python.
同时,机器学习模型将使用 Python 进行预训练。
In order for this application to work, the data sent from the mobile app should be sent to Python from the server.为了让这个应用程序工作,从移动应用程序发送的数据应该从服务器发送到 Python。 After the data goes into the pre-trained model, a specific output would be produced and the output would be sent back to the mobile app.
数据进入预训练模型后,将产生特定输出,并将输出发送回移动应用程序。 However, there would be a huge memory usage as Python should be infinitely run to retrieve the updated data from Firebase.
但是,由于 Python 应该无限运行以从 Firebase 检索更新的数据,因此会占用大量内存。
Is it possible to send data from Firebase to Python and mobile applications once data has been updated in the Firebase?一旦 Firebase 中的数据更新,是否可以将数据从 Firebase 发送到 Python 和移动应用程序? If it is not possible in Firebase, are there any other servers that can implement this function?
如果在 Firebase 中无法实现,是否还有其他服务器可以实现此功能?
Thank you.谢谢你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.