# TensorFlowKerasEmotions **Repository Path**: tonybearpan/tensor-flow-keras-emotions ## Basic Information - **Project Name**: TensorFlowKerasEmotions - **Description**: 训练数据 页面记录预测,并记录结果 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-05-08 - **Last Updated**: 2023-05-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: TensorFlow, Django, keras, 情绪预测 ## README # 安装python3 https://zhuanlan.zhihu.com/p/104502997 # 启动程序 ``` bat .\run.bat ``` # 打开页面 http://localhost:8000 # 数据训练 ## 准备训练数据CSV ``` csv label,review 0,内容 ... ``` 保存为文件名:data.csv 以下时标签对应的情绪值 ``` json {0: '高兴', 1: '生气', 2: '厌恶', 3: '伤心',4:'惊讶',5:"害怕"} ``` ## 执行训练脚本 ``` python python KerasCnn\training.py ```