修改情感代码的数据路径,Emotion

This commit is contained in:
jiangzhonglian
2019-12-13 16:14:13 +08:00
parent c2dee93b08
commit 9d74dba5e2
5 changed files with 4 additions and 4 deletions

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -8,10 +8,10 @@
class Config(object):
poetry_file = 'poetry.txt'
weight_file = 'poetry_model.h5'
data_file = 'EmotionData.xlsx'
model_file = 'EmotionModel.h5'
vocab_list = 'vocal_list.pkl'
word_index = 'word_index.pkl'
data_file = 'Emotion/EmotionData.xlsx'
model_file = 'Emotion/EmotionModel.h5'
vocab_list = 'Emotion/vocal_list.pkl'
word_index = 'Emotion/word_index.pkl'
# 根据前六个字预测第七个字
max_len = 6
batch_size = 512