【发布时间】:2017-06-19 21:36:11
【问题描述】:
我想在 Tensorflow Serving 上启动并运行以下模型:
https://github.com/mdietrichstein/tensorflow-open_nsfw
我已使用以下代码导出模型:https://github.com/mdietrichstein/tensorflow-open_nsfw/blob/master/tools/export_model.py
但是在尝试使用 node.js 客户端计算结果时出现以下错误:
{ code: 3,
details: 'Invalid character found in base64.\n\t
[[Node: map/while/DecodeBase64 = DecodeBase64[_output_shapes=[[]],
_device="/job:localhost/replica:0/task:0/cpu:0"](map/while/TensorArrayReadV3)]]',
metadata: Metadata {
_ internal_repr: {}
}
}
我的客户端配置了测试服务器地址的代码可以在这里找到:
https://github.com/delta9/tensorflow-serving-node-client
有没有人遇到过类似的问题,如果有,您是如何解决的?
非常感谢
【问题讨论】:
标签: python node.js tensorflow tensorflow-serving