-
Notifications
You must be signed in to change notification settings - Fork 151
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
How to use pre-trained models on custom datasets #209
Comments
You might find it helpful to follow the example here. |
Thank you. In the Classification_inference.py, there's the Apologise for still been confused. |
Yes. The original |
Thanks. But if you want to use pre-trained models then why would you need to use the |
There can be different kinds of pre-trained models. Some models are pre-trained on a particular dataset for a particular supervised learning task. In that scenario, There are also models pre-trained on a broad range of datasets in an unsupervised/self-supervised fashion for representation learning. To use this kind of pre-trained models for a particular dataset, it typically requires fine-tuning the pre-trained model on the dataset like what's done in |
Hello!
Many thanks for putting up this code.
I apologise if this is some silly question but I'm new to this field and eager to dive into it.
For the time being, I'm trying to load a pre-trained model and generate predictions for a user defined sets of molecules.
I have found the commands to load a model, which should be something like this:
dataset = Tox21(smiles_to_bigraph, CanonicalAtomFeaturizer()) model = load_pretrained('GCN_Tox21') # Pretrained model loaded model.eval()
What are the commands to generate prediction on user-defined Smiles using the pre-trained model?
Many thanks
The text was updated successfully, but these errors were encountered: