-
Notifications
You must be signed in to change notification settings - Fork 31
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
Freezing weights and fine-tuning MPNN model #117
Comments
Hello, from what I know, GNNs are somewhat tricky for transfer learning. But for related tasks this can work. |
The current kgcnn 4.0 does not have the classic MPNN yet. Would any other GCN work as well? |
Yes an example notebook would be amazing thank you.
The directed version of MPNN that is implemented in the literature section would be great. Once again thank you so much. |
Analyzing Learned Molecular Representations for Property Predictionpubs.acs.orgDMPNN is implemented. It is I readme file and here kgcnn/literature/DMPNN/_model.pyI use itBestGuillaume Envoyé de mon iPhoneLe 16 nov. 2023 à 23:42, Rhys-McAlister ***@***.***> a écrit :
Hello, from what I know, GNNs are somewhat tricky for transfer learning. But for related tasks this can work. The guide of keras should also transfer to kgcnn without any difference. You would just change the outplut_mlp then. If you want I can try to make an example notebook next week or so.
Yes an example notebook would be amazing thank you.
The current kgcnn 4.0 does not have the classic MPNN yet. Would any other GCN work as well?
The directed version of MPNN that is implemented in the literature section would be great. Once again thank you so much.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hi, thanks for the reply. Use I have been using that model that has been implemented here, I just meant that I was wondering if it was possible to freeze the weights of that model or if it was possible to have a tutorial notebook on how to do so. Cheers, |
Hello, I added an example with freezing weights: https://github.com/aimat-lab/gcnn_keras/blob/master/notebooks/example_transfer_learning.ipynb |
Thank you so much, the notebook looks excellent. |
Hi, I would like to utilise transfer learning similar to how it is outlined in this post: https://keras.io/guides/transfer_learning/ and was wondering if there were any examples on freezing the weights of the MPNN component of the model whilst allowing the FFNN component to be trained with a different dataset as in "Predicting Infrared Spectra with Message Passing Neural Networks" paper.
Thanks
The text was updated successfully, but these errors were encountered: