dancinghui
dancinghui
HI,@menshikh-iv , I need update the dictionary,so I set allow_update=True if I replace ` phrase2word=[dictionary.doc2bow(text,allow_update=True) for text in phrases]` to `phrase2word=[dictionary.doc2bow(text) for text in phrases]` the dictionary will not put...
Hi,@menshikh-iv I have tried your advice and put ``` nf=len(dictionary.dfs) index = similarities.SparseMatrixSimilarity(corpus, num_features=nf) ``` after `phrase2word=[dictionary.doc2bow(text,allow_update=True) for text in phrases]` then it can work normaly.The main reason is that...
@rituraj17 I install successfully following the README file in the download from this link http://www.swig.org/download.html
我也遇到了同样的问题,将test_data文件换为infer.tsv,会报如下错误: `Traceback (most recent call last): File "run_ernie_sequence_labeling.py", line 316, in do_infer(args) File "run_ernie_sequence_labeling.py", line 264, in do_infer mode='test') File "/home/lihui/github_clone/models/PaddleNLP/lexical_analysis/creator.py", line 153, in create_pyreader phase=mode), File "../shared_modules/preprocess/ernie/task_reader.py", line 222,...
由于是从windows平台拷贝到centos的,如果直接clone到centos平台没有这个错误
> > Maybe you need to update the version of g++. > > What version of g++ do you use? 4.8.5
> sorry, not solved