Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置环境错误 #22

Open
zzzendurance opened this issue May 15, 2024 · 3 comments
Open

配置环境错误 #22

zzzendurance opened this issue May 15, 2024 · 3 comments

Comments

@zzzendurance
Copy link

按照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
Copy link
Author

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

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

@Jiaxin-Ye
Copy link
Owner

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

@zzzendurance
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants