Skip to content

Are pretrained models available? #40

Answered by RMeli
mattragoza asked this question in Q&A
Discussion options

You must be logged in to vote

@mattragoza Thanks once again to @drewnutt , who manually converted the weights of the dense model (see #43), the dense_ models and the dense_ensemble are now supported. The same goes for GNINA's default model ensemble.

See PR #44 for details. Related PRs: #38, #36, #34.

You can now easily load GNINA's pre-trained models as follows:

from gninatorch import gnina

model, ensemble = setup_gnina_model("MODEL")

where MODEL corresponds to the string you would use as --cnn argument in GNINA, while ensemble is a boolean flag that tells you if model is a single model (ensemble == False) or if it is an ensemble of models (ensemble == True).

Replies: 9 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Kerro-junior
Comment options

@RMeli
Comment options

@drewnutt
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@RMeli
Comment options

Answer selected by RMeli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
5 participants
Converted from issue

This discussion was converted from issue #33 on July 18, 2022 13:39.