Skip to content
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

add predict.py script #92

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

add predict.py script #92

wants to merge 8 commits into from

Conversation

msehabibur
Copy link
Contributor

@msehabibur msehabibur commented Mar 6, 2023

The current pretrained.py script can be used for only one file, and it always wants to download the pretrained checkpoint from Figshare even though someone would like to pass it by feeding their own checkpoint. 

This predict.py script can be used to apply an optimized model to a new dataset. After running this script, it will generate a csv file with an id and the corresponding prediction. Note, you have to keep, the id_prop.csv file in the target folder.  Here is the script- https://github.com/msehabibur/alignn/blob/main/alignn/predict.py

msehabibur and others added 4 commits January 20, 2023 18:20
Currently, the train data is not correctly printed out in the prediction_results_train_set.csv file. It shows some symmetric data points along the parity line. Also, it prints out the validation dataset rather than the training dataset.
@codecov-commenter
Copy link

codecov-commenter commented Mar 6, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.03 ⚠️

Comparison is base (736ec73) 74.72% compared to head (a58dec3) 74.70%.

❗ Current head a58dec3 differs from pull request most recent head 1b42d8b. Consider uploading reports for the commit 1b42d8b to get more accurate results

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
- Coverage   74.72%   74.70%   -0.03%     
==========================================
  Files          20       20              
  Lines        2849     2846       -3     
==========================================
- Hits         2129     2126       -3     
  Misses        720      720              
Impacted Files Coverage Δ
alignn/train.py 45.80% <100.00%> (-0.35%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants