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

different size between pretrain and finetune #3

Open
zhangdan0602 opened this issue Mar 11, 2022 · 0 comments
Open

different size between pretrain and finetune #3

zhangdan0602 opened this issue Mar 11, 2022 · 0 comments

Comments

@zhangdan0602
Copy link

Hi, thanks for your contribution. I have a question in the implementation process. For molcpba, firstly we use graphormer to pretrain on CQM4Mv2 , which in num_class is 1. Thus, the size is torch.Size([1, 1024]). However, when we finetune on the molpcba, the num_class is 128,size is torch.Size([128, 1024]). Thus their size is mismatch. How do we address it? Thanks.

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

1 participant