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

Can this framework be used for full supervision #4

Open
tanjia123456 opened this issue Sep 27, 2020 · 1 comment
Open

Can this framework be used for full supervision #4

tanjia123456 opened this issue Sep 27, 2020 · 1 comment

Comments

@tanjia123456
Copy link

hello, I have found many framework is Semi-supervised or unsupervised? For node classification, all my data has labels, so semi-supervised or unsupervised is not applicable. Do you know of a suitable framework for my data set?

@gyshgx868
Copy link
Owner

Sorry for my late reply.

If you want to apply this framework to fully supervised tasks, you can simply add a cross-entropy loss at the following line:

loss = self.loss(t, t_hat) * self.args.lambda_mse

where you should also read the labels from the DataLoader.

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