typeError:can can can‘
我使用烧瓶提供模型服务,当使用多个进程加快获得模型结果时,会遇到此问题,然后将模型初始化方法传递给池,但需要时间。如何初始化模型进程池初始化烧瓶服务?调用烧瓶接口时,将参数传递到进程池以获取模型结果
I Using flask to provide model services, this problem is encountered when using multiple processes to speed up obtaining model results, then the model initialization method is also passed to the pool, but it takes time. How to initialize the model process pool when initializing the flask service?When calling the flask interface, pass parameters to the process pool to get the model results
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论