simple_tensorflow_serving icon indicating copy to clipboard operation
simple_tensorflow_serving copied to clipboard

如何在inference 前加一些对数据的预处理代码

Open xxllp opened this issue 6 years ago • 2 comments

xxllp avatar Jun 27 '19 09:06 xxllp

还有个疑问 Example 为 {"model_version": 1, "data": {"keys": [[1.0], [2.0]], "features": [[10, 10, 10, 8, 6, 1, 8, 9, 1], [6, 2, 1, 1, 1, 1, 7, 1, 1]]}}. 其实我还是需要知道input op name 不然会报错的哈

xxllp avatar Jun 27 '19 09:06 xxllp

You can export with the preprocess python function in the SavedModel. This needs more document and you may find it in the source code.

tobegit3hub avatar Jul 01 '19 07:07 tobegit3hub