From 9d74dba5e210336095ca38521a6c126c8a0b98d0 Mon Sep 17 00:00:00 2001 From: jiangzhonglian Date: Fri, 13 Dec 2019 16:14:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=83=85=E6=84=9F=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E7=9A=84=E6=95=B0=E6=8D=AE=E8=B7=AF=E5=BE=84=EF=BC=8C?= =?UTF-8?q?Emotion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tensorflow2.x/{ => Emotion}/EmotionData.xlsx | Bin ...onData\347\232\204\345\211\257\346\234\254.xlsx" | Bin .../tensorflow2.x/{ => Emotion}/Emotion_acc.png | Bin .../tensorflow2.x/{ => Emotion}/Emotion_loss.png | Bin src/py3.x/tensorflow2.x/config.py | 8 ++++---- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/py3.x/tensorflow2.x/{ => Emotion}/EmotionData.xlsx (100%) rename "src/py3.x/tensorflow2.x/EmotionData\347\232\204\345\211\257\346\234\254.xlsx" => "src/py3.x/tensorflow2.x/Emotion/EmotionData\347\232\204\345\211\257\346\234\254.xlsx" (100%) rename src/py3.x/tensorflow2.x/{ => Emotion}/Emotion_acc.png (100%) rename src/py3.x/tensorflow2.x/{ => Emotion}/Emotion_loss.png (100%) diff --git a/src/py3.x/tensorflow2.x/EmotionData.xlsx b/src/py3.x/tensorflow2.x/Emotion/EmotionData.xlsx similarity index 100% rename from src/py3.x/tensorflow2.x/EmotionData.xlsx rename to src/py3.x/tensorflow2.x/Emotion/EmotionData.xlsx diff --git "a/src/py3.x/tensorflow2.x/EmotionData\347\232\204\345\211\257\346\234\254.xlsx" "b/src/py3.x/tensorflow2.x/Emotion/EmotionData\347\232\204\345\211\257\346\234\254.xlsx" similarity index 100% rename from "src/py3.x/tensorflow2.x/EmotionData\347\232\204\345\211\257\346\234\254.xlsx" rename to "src/py3.x/tensorflow2.x/Emotion/EmotionData\347\232\204\345\211\257\346\234\254.xlsx" diff --git a/src/py3.x/tensorflow2.x/Emotion_acc.png b/src/py3.x/tensorflow2.x/Emotion/Emotion_acc.png similarity index 100% rename from src/py3.x/tensorflow2.x/Emotion_acc.png rename to src/py3.x/tensorflow2.x/Emotion/Emotion_acc.png diff --git a/src/py3.x/tensorflow2.x/Emotion_loss.png b/src/py3.x/tensorflow2.x/Emotion/Emotion_loss.png similarity index 100% rename from src/py3.x/tensorflow2.x/Emotion_loss.png rename to src/py3.x/tensorflow2.x/Emotion/Emotion_loss.png diff --git a/src/py3.x/tensorflow2.x/config.py b/src/py3.x/tensorflow2.x/config.py index 7a7322f03..5f03420a3 100644 --- a/src/py3.x/tensorflow2.x/config.py +++ b/src/py3.x/tensorflow2.x/config.py @@ -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