Skip to content

How to use pre-trained models on custom datasets #209

Description

@GattiMh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions