Closed rishigurnani closed 1 year ago
So far, I have written a partial example_predict.py
file. While writing it, I realized that example.py
was broken. It appears that empty graph_feats
tensors are not getting added to Data objects when users provide data without a "graph_feats" column. I am writing a fix locally that updates the prepare.py
file in polygnn_trainer
. Fixed by https://github.com/rishigurnani/polygnn_trainer/commit/1ab50cfec8345d6c2fa84d7c638d77b575e2d7ae.
EDIT: After "fixing" the graph_feats
issue, I am seeing that the ensemble predictions in example.py
and example2.py
are low R^2. However, the models train with high R^2. Fixed by https://github.com/rishigurnani/polygnn_trainer/commit/f62c9010e909520b4b4423b0d3bef7acf0ac0fce and https://github.com/rishigurnani/polygnn_trainer/commit/f3eb5ba3ef73a746aed2121ddac2926cc942d83d.
The goal of this PR is to create an
example_predict.py
file to illustrate how to just do prediction using previously-trained models.