koth/kcws

中文分词web service 运行卡住不动 哪毛病?

kinghuangdd opened this issue · 0 comments

./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 15:13:22.023235: 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 15:13:22.023293: 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 15:13:22.026499 2578 tfmodel.cc:64] Reading file to proto: kcws/models/seg_model.pbtxt
I0930 15:13:22.050539 2578 tfmodel.cc:69] Creating session.
I0930 15:13:22.101790 2578 tfmodel.cc:77] Tensorflow graph loaded from: kcws/models/seg_model.pbtxt
2017-09-30 15:13:22.116079: I kcws/cc/tf_seg_model.cc:239] Reading from layer transitions
2017-09-30 15:13:22.116161: I kcws/cc/tf_seg_model.cc:245] got num tag:4
2017-09-30 15:13:22.144437: I kcws/cc/tf_seg_model.cc:258] Total word :5689
I0930 15:13:22.144560 2578 tfmodel.cc:64] Reading file to proto: kcws/models/pos_model.pbtxt
I0930 15:13:22.664917 2578 tfmodel.cc:69] Creating session.
I0930 15:13:22.672420 2578 tfmodel.cc:77] Tensorflow graph loaded from: kcws/models/pos_model.pbtxt
2017-09-30 15:13:23.022639: I kcws/cc/pos_tagger.cc:218] Reading from layer transitions
2017-09-30 15:13:23.022676: I kcws/cc/pos_tagger.cc:224] got num tag:74
(2017-09-30 07:13:23) [INFO ] Crow/0.1 server is running, local port 9090
然后就很久很久不动了 词性标注也是最后一步卡住不动了 。。。。。