在 docker 容器中运行 bazel 命令时出现以下错误。
命令运行:
- bazel-bin/tensorflow_serving/model_servers/tensorflow_model_server --port=9000 --model_name=rf_quora --model_base_path=/serving/rf_model &> rf_log &
error:
- 未找到:Op 类型未在 864822af1c6c 上运行的二进制文件中注册“CountExtremelyRandomStats”。确保 Op 和 Kernel 是
在此进程中运行的二进制文件中注册。
我尝试使用以下链接进行搜索,但没有成功。https://github.com/tensorflow/tensorflow/issues/11847 https://github.com/tensorflow/tensorflow/issues/11847
我正在尝试使用张量流张量服务进行推理,但我被上述错误阻止。
使用 Tensorflow 1.3 并使用tensor_forest
API 存在于tf.contrib.tensor_forest_python
.
任何人都可以帮助我解决这个错误,因为它阻止了我的测试。
注意:-我已经成功运行了张量服务推论mnist和初始示例模型。
据此,不支持该操作,您必须手动添加它:https://github.com/tensorflow/serving/issues/278 https://github.com/tensorflow/serving/issues/278
Edit:该查询的答案可以在这里找到:https://github.com/tensorflow/tensorflow/issues/14358 https://github.com/tensorflow/tensorflow/issues/14358
简而言之,如果您运行 TF 1.3 并使用 TensorForest,则需要升级到 TF 1.4。
另外,对于手动运行 TensorForest 的人(即不使用 TensorForestEstimator),我发现最好简单地使用估计器,因为升级到 TF 1.4 后其他操作会出现问题
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)