TensorFlow 服务 : "No assets to save/writes" when exporting models

标签 tensorflow tensorflow-serving

最近我正在尝试使用 tensorflow 服务部署深度学习服务。但是在导出模型时我得到了以下信息:

  INFO:tensorflow: No assets to save
  INFO:tensorflow: No assets to write
  INFO:tensorflow: SavedModel written to: b'./models/1/saved_model.pb'

我真的不明白这里发生了什么。 “没有要保存/写入的 Assets ”是什么意思?一切顺利吗?
顺便说一句,通过运行官方示例 Serving a tensorflow model ,我得到了相同的信息。

最佳答案

Assets 是指模型所需的任何外部文件。常见的例子是词汇表和嵌入矩阵。如果您的模型没有任何外部依赖项,则会出现这些消息。请注意,它们记录在“INFO”级别。

关于TensorFlow 服务 : "No assets to save/writes" when exporting models,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47027870/

相关文章:

python - tensorflow-serving-apis - 找不到 python 文档

python - [tensorflow]安装 tensorflow-gpu,导入错误为段错误(核心转储)

python - 位于tensorflow.org 的tensorflow 示例中的官方模块

python - 了解 tf.gradients 如何评估

python - tensorflow 构建错误

python - 超过 url Tensorflow Serving Python 请求的最大重试次数

python - TensorFlow REST 前端,但不是 TensorFlow Serving

python - Tensorflow 在 mac 上成功安装,但在使用时在 copyreg 上出现 ImportError

performance - Tensorflow:如何在模型训练过程中实时监控 GPU 性能?

tensorflow - 在 model_config_file 中分配版本标签失败