未验证 提交 1ed19056 编写于 作者: J Jiawei Wang 提交者: GitHub

Update ocr_web_server.py

上级 06755211
...@@ -77,7 +77,6 @@ class OCRService(WebService): ...@@ -77,7 +77,6 @@ class OCRService(WebService):
feed = {"image": norm_img} feed = {"image": norm_img}
feed_list.append(feed) feed_list.append(feed)
fetch = ["ctc_greedy_decoder_0.tmp_0", "softmax_0.tmp_0"] fetch = ["ctc_greedy_decoder_0.tmp_0", "softmax_0.tmp_0"]
print(feed_list)
return feed_list, fetch return feed_list, fetch
def postprocess(self, feed={}, fetch=[], fetch_map=None): def postprocess(self, feed={}, fetch=[], fetch_map=None):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册