-
Notifications
You must be signed in to change notification settings - Fork 62
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
关于自定义训练、测试模块的问题 #12
Comments
你好,希望你能提供更详细的信息,以便我们判断出现当前这种现象的原因,例如你做的具体的修改是什么,预期的运行效果是什么,以及实际执行的情况是什么等。 |
我为了观察模型对三元组的得分情况,修改了模型测试步骤的代码,把src/neuralkg/lit_model/KGELitModel.py中test_step函数中第90行的参数prediction='all'改为prediction='tail'。 |
您好,这是一个很常见的问题,在README文件中我们提供了使用pip进行安装的方法。因此在
希望这可以帮到您。 |
通过这个方法,现在问题已经得到了解决,对代码的改动现在可以表现出来了。十分感谢你的回复! |
为了观察、调试模型,我修改了src/neuralkg/lit_model/KGELitModel.py和src/neuralkg/eval_task/link_prediction.py中的代码。但是在使用main.py训练、测试的过程中,这些修改的代码都好像没有执行,而是保持修改之前的状态。请问这种现象出现的原因是什么,以及我如果想把这些修改的代码应用于训练,应该如何去做?
The text was updated successfully, but these errors were encountered: