From 6a97b86f4d9d34fb371d631027f2ead5851ba2d6 Mon Sep 17 00:00:00 2001 From: jiangzhonglian Date: Fri, 13 Dec 2019 16:21:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/py3.x/tensorflow2.x/text_Emotion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py3.x/tensorflow2.x/text_Emotion.py b/src/py3.x/tensorflow2.x/text_Emotion.py index b8437a76..9562b072 100644 --- a/src/py3.x/tensorflow2.x/text_Emotion.py +++ b/src/py3.x/tensorflow2.x/text_Emotion.py @@ -56,7 +56,7 @@ def loadMyWord2Vec(outfile): def load_embeding(): # 训练词向量(用空格隔开的文本) infile = "./CarCommentAll_cut.csv" - outfile = "gensim_word2vec_60/Word60.model" + outfile = "/opt/data/开源词向量/gensim_word2vec_60/Word60.model" # trainWord2Vec(infile, outfile) # 加载词向量 Word2VecModel = loadMyWord2Vec(outfile)