kcws
kcws copied to clipboard
Deep Learning Chinese Word Segment
ERROR: C:/users/thomas/appdata/local/temp/_bazel_thomas/infhcau0/external/protob uf/BUILD:113:1: C++ compilation of rule '@protobuf//:protobuf' failed (Exit 2): cl.exe failed: error executing command cd C:/users/thomas/appdata/local/temp/_bazel_thomas/infhcau0/execroot/__main__ SET INCLUDE=F:\Tools\Microsoft Visual Studio 14.0\VC\INCLUDE;F:\Tools\Microsof t Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\in...
编译后台服务报错
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files: /home/cly/github/kcws/tools/bazel.rc INFO: Writing tracer profile...
1)去掉 python 脚本中的 unicode: 例如:process_anno_file.py ustr = unicode(token.decode('utf8')) # 去掉unicode 2)去掉python脚本中的decode("utf8"): 例如:sentence.py x.append(vob.GetWordIndex(str(t[0].encode("utf8")))) # 去掉.encode("utf8")
你好,请问demo接口是关闭了么?
执行到这步报了个错,这是什么原因? [tomcat@samuel kcws]$ ./bazel-bin/kcws/train/generate_training vec.txt ../2014/ all.txt got dim:50 WARNING: Logging before InitGoogleLogging() is written to STDERR I1207 09:07:25.184274 21414 word2vec_vob.cc:122] got tn:1,max id=0 I1207 09:07:25.184463 21414 word2vec_vob.cc:127] f[0] avg:0.008005,std:0...
最后一步 web
执行:./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 --user_dict_path=kcws/models/word_vocab.txt 报错: 2017-09-27 17:31:47.889749: 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...
kcws/cc/BUILD:151:1: Linking of rule '//kcws/cc:seg_backend_api' failed: gcc failed: error executing command (cd /home/xxx/.cache/bazel/_bazel_xxx/23262c8d7c0b9ee3f2df2240efd23a78/execroot/kcws && \ exec env - \ PATH=/opt/tiger/jdk/jdk1.8/bin:/opt/tiger/go/go1.8.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/tiger/ss_bin:/usr/local/jdk/bin:/usr/sbin/:/opt/tiger/ss_lib/bin:/opt/tiger/cpplib/bin:/opt/tiger/dev_toolkit/bin:/opt/tiger/ss_lib/python_package/lib/python2.7/site-packages/django/bin:/opt/tiger/yarn_deploy/hadoop/bin/:/opt/tiger/hive_deploy/bin:/opt/tiger/yarn_deploy/jdk/bin/:/opt/tiger/hadoop_deploy/jython-2.5.2/bin \ /usr/bin/gcc -o bazel-out/local-fastbuild/bin/kcws/cc/seg_backend_api -pthread '-fuse-ld=gold' -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -B/usr/bin...
当维度加到500维的时候,在生成all.txt时,会提示line len not comformed to dimension,结果会导致w2v聚类特征全为1,什么原因呢
词性标注模型下载 (临时方案,后续文档给出词性标注模型训练,导出等) 我想问一下词性标注的后续文档能不能分享一下,谢谢啦