Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于模型预测,在win端建立一个client,但是在预测时一直卡住。请问如何解决 #369

Open
SevenMpp opened this issue Jan 20, 2021 · 0 comments

Comments

@SevenMpp
Copy link

我在服务器上运行了服务,如下所示:
I:WORKER-0:[__i:_ru:502]:use device gpu: 0, load graph from /data/mpf/bert/tmp/pb_ner_model/ner_model.pb
WARNING:tensorflow:From /home/app_user_5i5j/anaconda3/lib/python3.6/site-packages/bert_base-0.0.9-py3.6.egg/bert_base/server/helper.py:162: The name tf.logging.set_verbosity is deprecated. Please use tf.compat.v1.logging.set_verbosity instead.

WARNING:tensorflow:From /home/app_user_5i5j/anaconda3/lib/python3.6/site-packages/bert_base-0.0.9-py3.6.egg/bert_base/server/helper.py:162: The name tf.logging.ERROR is deprecated. Please use tf.compat.v1.logging.ERROR instead.
results: <tensorflow.python.framework.c_api_util.ScopedTFImportGraphDefResults object at 0x7fea7f703b70>
missing_unused_input_keys: []
I:WORKER-0:[__i:gen:542]:ready and listening!
之后在win上创建了一个文件去访问,服务器接口的线上如下,并且client端一直卡住。不运行也不结束:
results: <tensorflow.python.framework.c_api_util.ScopedTFImportGraphDefResults object at 0x7fea7f703b70>
missing_unused_input_keys: []
I:WORKER-0:[__i:gen:542]:ready and listening!
I:VENTILATOR:[__i:_ru:217]:new encode request req id: 0 size: 1 client: b'78116aa2-c348-4f76-a07f-ba0ed0550b99'
I:SINK:[__i:_ru:371]:job register size: 1 job id: b'78116aa2-c348-4f76-a07f-ba0ed0550b99#0'
I:WORKER-0:[__i:gen:550]:new job socket: 0 size: 1 client: b'78116aa2-c348-4f76-a07f-ba0ed0550b99#0'
请问这是为什么,应该如何解决呢

@SevenMpp SevenMpp changed the title 关于模型预测 关于模型预测,在win端建立一个client,但是在预测时一直卡住。请问如何解决 Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant