-
Notifications
You must be signed in to change notification settings - Fork 0
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
运行build.sh报错 #2
Comments
@GaoJianchao 在build.sh 加一行 -I./ \ 试一下 , 我重新提交了一下,可以重新拉取试一下 |
please input query:我们是中国人 |
@GaoJianchao 项目自带的模型能跑吗,你这个我就不是很清楚了,需要你自己查一下 |
项目自带的可以跑 |
@GaoJianchao 我看你的好像是输入参数 好像有点问题,你可以查一下看看,参考src/kcws/tf_seg_model.cc |
但是我没有改动代码啊,为什么输入参数有问题? |
我觉得是因为训练时候tensorflow用的版本太高了 |
你的模型就是用用原文(https://github.com/koth/kcws.git)的训练的吗? 那你查一下,学习下。 @GaoJianchao |
我本地的版本也是1.6以上的但是解码是可以的啊 |
我是用的原文训练的一点代码也没改,训练用的tensorflow-gpu-1.14.0,测试用的你的代码编译的不过编译的tensorflow是没有gpu的1.6版本 |
./kcws/cc/seg_backend_api.cc:14:23: fatal error: base/base.h: No such file or directory
#include "base/base.h"
^
compilation terminated.
./kcws/cc/pos_tagger.cc:10:23: fatal error: base/base.h: No such file or directory
#include "base/base.h"
^
compilation terminated.
In file included from ./kcws/cc/sentence_breaker.cc:10:0:
./kcws/cc/sentence_breaker.h:16:37: fatal error: utils/basic_string_util.h: No such file or directory
#include "utils/basic_string_util.h"
我知道是路径原因,但是怎么改呢,build.sh就在项目根目录啊
The text was updated successfully, but these errors were encountered: