如何导出GCP的AutoML模型并在本地机器上运行?

问题描述 投票:0回答:0

现在,我已经导出了我在 GCP 上使用 AutoML 训练的模型。 它是一个张量流包。 但是,当我想在本地运行它时,它会显示以下消息:

NotFoundError: Op type not registered 'DecodeProtoSparseV4' in binary running on my-project. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.

这是我的代码:

import tensorflow as tf
model = tf.saved_model.load("tensorflow_model/model-1/predict/001/")

有什么问题吗?还是失踪?

tensorflow google-cloud-platform google-cloud-ml google-cloud-automl
© www.soinside.com 2019 - 2024. All rights reserved.