New feature: using pretrained Flexynesis models in inference mode #126
borauyar
announced in
Announcements
Replies: 1 comment
-
|
Thanks a lot @borauyar ! Learnt a lot during the process from you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We’ve added support for inference-only mode in Flexynesis available from version
1.1.6.Thanks a lot to @amitpande74 for developing this long-awaited feature.
You can now pretrain a model once and reuse it to predict outcomes on a new test dataset.
!! Warning: in the current version, the test dataset must contain the same omics modalities and features used during training.
Here is a short snippet on how to use it on inference mode:
--pretrained_model: Path to the trained model .pth file.--artifacts: Path to the preprocessing artifacts (.joblib) saved during training.--data_path_test: Folder containing the test dataset (same omics/features as training).--target_variables: Target variable(s) to predict in the test set.This works with all model classes including DirectPred, supervised_vae, CrossModalPred, MultiTripletNetwork, and GNN.
Beta Was this translation helpful? Give feedback.
All reactions