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

在模型训练的时候如何进行特征的输入? #53

Open
Sunning2118 opened this issue Aug 31, 2023 · 4 comments
Open

在模型训练的时候如何进行特征的输入? #53

Sunning2118 opened this issue Aug 31, 2023 · 4 comments

Comments

@Sunning2118
Copy link

和大家讨论一个问题:异构图是由多个同构图拼接而成,那么对于每个构成异构图的同构图来说,他们所需要的节点的数量是不一样的,这就导致模型所需要的特征不一样。那么,在模型训练的时候如何进行特征的输入?
1、对于每个子图独立重新编号,每个子图所输入的特征各不相同
2、对于每个子图来说,加入它所不具有的点,使每个子图所具有的节点数量都一样,然后使每个节点都具有自环性,目的是迎合dgl的要求,然后,每个同构图的区别是自己独特的边的集合

@wlmnzf
Copy link

wlmnzf commented Sep 10, 2023

这个目前大家有走通的方案吗,我正在尝试第一个方案

@Sunning2118
Copy link
Author

Sunning2118 commented Sep 11, 2023 via email

@Sunning2118
Copy link
Author

Sunning2118 commented Sep 11, 2023 via email

@wlmnzf
Copy link

wlmnzf commented Sep 12, 2023

@Sunning2118 okok,非常感谢!!

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