kcws icon indicating copy to clipboard operation
kcws copied to clipboard

Deep Learning Chinese Word Segment

Results 44 kcws issues
Sort by recently updated
recently updated
newest added

ERROR: /home/m/kcws/kcws/train/BUILD:1:1: Converting to Python 3: kcws/train/generate_training.py failed: 2to3 failed: error executing command bazel-out/host/bin/external/bazel_tools/tools/python/2to3 --no-diffs --nobackups --write --output-dir bazel-out/local-py3-fastbuild/genfiles/python3/kcws/train --write-unchanged-files ... (remaining 1 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status...

请问u16tou8 和u8tou16 这两个函数转成的是什么编码啊,这里没看明白,还有这个定义的是什么类型,求解释typedef uint16_t UnicodeCharT;typedef std::basic_string UnicodeStr;

请问如果模型之前已经训练过一次,如果再训练的话可以吗?

你好,想请教一下,想添加自定义词典的话需要在哪一步运行?导出训练好的模型之前还是之后

https://github.com/koth/kcws/blob/303b00fb8f2ec4c50c3c5ad0b2de4e724893ec5e/kcws/train/train_cws.py#L126

./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....

./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....