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

CompGCN模型问题 #34

Closed
missyoudaisy opened this issue Jun 20, 2023 · 1 comment
Closed

CompGCN模型问题 #34

missyoudaisy opened this issue Jun 20, 2023 · 1 comment

Comments

@missyoudaisy
Copy link

你好,我按照要求训练了CompGCN模型,但是在测试的时候,当我加载训练好的预训练模型,出现了如下的错误:
RuntimeError:Error(s) in loading state_dict for CompGCNLitModel:
unpected key(s) in state_dict:“model.GraphCov.rel”, "loss.model.GraphCov.rel".
请问这个问题该如何解决呢?

@hzwy3c
Copy link
Collaborator

hzwy3c commented Jun 20, 2023

您好,

从报错来看是加载模型参数的时候键值没有对应,能详细说说你是怎么预训练的吗?

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

3 participants