Jiaxin-Ye / TIM-Net_SER

[ICASSP 2023] Official Tensorflow implementation of "Temporal Modeling Matters: A Novel Temporal Emotional Modeling Approach for Speech Emotion Recognition".
GNU General Public License v3.0
159 stars 25 forks source link

配置环境错误 #22

Open zzzendurance opened 4 months ago

zzzendurance commented 4 months ago

按照requirements里的要求,创建wsl下的虚拟环境(python=3.9)直接运行命令($ pip install -r requirement.txt),最后显示错误: ERROR: Ignored the following versions that require a different python version: 0.52.0 Requires-Python >=3.6,<3.9; 0.52.0rc3 Requires-Python >=3.6,<3.9 ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==2.7.0 (from versions: none) ERROR: No matching distribution found for tensorflow-gpu==2.7.0

但是我按照python=3.7, tensorflow-gpu=2.4.1,然后所有需要的包分开安装(且不按照requirements里的版本安装),最后也能跑出来结果(目前只在iemocap上面跑了,也还没仔细对数据)

zzzendurance commented 4 months ago

我在wsl2下,创建虚拟环境,python=3.7, tensorflow-gpu=2.4.1,然后所有需要的包分开安装(且不按照requirements里的版本安装)。 下载好文中提供的:mfcc里的文件,以及测试模型文件,直接运行文中给出的测试指令

在iemocap中跑出了十轮结果,且最后显示为 Average ACC: 0.27063375860452654 。这个差太多了 同样在casia中运行,最后显示为:Average ACC: 0.16250000111758708。 不太懂为什么会有这样的结果,我个人未改动任何项目中代码及超参数,直接运行得出来的结果,求解

Jiaxin-Ye commented 4 months ago

确实很奇怪,我们的测试过程中没有遇到该问题。环境的配置不同我不确定是否有这么大的影响,或许你可以重新按照我们给的版本配置环境再测试看看。另一方面,你可以贴出中间过程的输出、检查一下数据读取和输出的log?这样我可以更好的为你解决问题。

zzzendurance commented 4 months ago

感谢回复 已经解决 是我这边环境配置的问题