【问题标题】:How to add a new model in tensorflow serving如何在 tensorflow 服务中添加新模型
【发布时间】:2018-04-26 21:36:42
【问题描述】:

我知道一次可能运行多个模型,您可以在配置文件中指定,如 here 所述。

就我而言,我想用model_Amodel_Bmodel_C 启动服务器,以后添加一个新的任意model_D 无需重新启动服务器(因为我不想中断模型 A、B 和 C 的服务)。

有没有办法达到这个要求?

【问题讨论】:

    标签: python tensorflow tensorflow-serving


    【解决方案1】:

    以下提交添加了此功能(并且应该在 TensorFlow Serving 1.7.0 及更高版本中:

    https://github.com/tensorflow/serving/commit/79d3354cd8a408fb981670512d661c2b7e89f5bf

    【讨论】:

    • 感谢您的回答。我已经阅读了提交和the PR,它已经被合并了。但是,至少对我来说,从我所读到的内容并不简单,我应该如何使用它。可以举个使用例子吗?
    猜你喜欢
    • 2021-09-10
    • 1970-01-01
    • 2018-03-07
    • 2021-09-17
    • 2023-04-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-01-26
    相关资源
    最近更新 更多