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

tf挂起整个进程不报错又不执行 #89

Open
kinghuangdd opened this issue Sep 30, 2017 · 1 comment
Open

tf挂起整个进程不报错又不执行 #89

kinghuangdd opened this issue Sep 30, 2017 · 1 comment

Comments

@kinghuangdd
Copy link

./bazel-bin/kcws/cc/seg_backend_api --model_path=kcws/models/seg_model.pbtxt --vocab_path=kcws/models/basic_vocab.txt --max_sentence_len=80
2017-09-30 17:04:54.607067: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-09-30 17:04:54.607172: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0930 17:04:54.607589 3377 tfmodel.cc:64] Reading file to proto: kcws/models/seg_model.pbtxt
I0930 17:04:54.610452 3377 tfmodel.cc:69] Creating session.
I0930 17:04:54.631103 3377 tfmodel.cc:77] Tensorflow graph loaded from: kcws/models/seg_model.pbtxt
2017-09-30 17:04:54.632146: I kcws/cc/tf_seg_model.cc:239] Reading from layer transitions
2017-09-30 17:04:54.632201: I kcws/cc/tf_seg_model.cc:245] got num tag:4
2017-09-30 17:04:54.641910: I kcws/cc/tf_seg_model.cc:258] Total word :5689
I0930 17:04:54.641994 3377 tfmodel.cc:64] Reading file to proto: kcws/models/pos_model.pbtxt
I0930 17:04:54.724326 3377 tfmodel.cc:69] Creating session.
I0930 17:04:54.727192 3377 tfmodel.cc:77] Tensorflow graph loaded from: kcws/models/pos_model.pbtxt
2017-09-30 17:04:55.006319: I kcws/cc/pos_tagger.cc:218] Reading from layer transitions
2017-09-30 17:04:55.006388: I kcws/cc/pos_tagger.cc:224] got num tag:74
(2017-09-30 09:04:55) [INFO ] Crow/0.1 server is running, local port 9090

tensorflow运行不动且没有反馈, tf挂起整个进程不报错又不执行

@koth
Copy link
Owner

koth commented Sep 30, 2017

它启动后是个web服务的 你可以访问http://localhost:9090

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

2 participants